On Fri, 26 Sep 2014, László Böszörményi wrote:

Hi Bob,

I got a report that drawtiming can't build[1] with newer
GraphicsMagick versions. The exact error is:
caught Magick++ exception: Magick: Non-conforming drawing primitive
definition (text) reported by magick/render.c:3022 (DrawImage)

If the following change is made to memory.txt in drawimage then it works.
-- cut --
-CS1 = 0, OE = 0, ADDR = "".
-OE -tOE> DATA = "";
+CS1 = 0, OE = 0, ADDR = " ".
+OE -tOE> DATA = " ";
-- cut --

Can it be a regression in GraphicsMagick or may be caused by something else?

This does seem like a regression and there is obviously a parsing bug with an empty text argument:

% gm convert -size 400x200 xc:white -pointsize 48  -draw 'text 10,100 "Just 
Testing"' null:
% gm convert -size 400x200 xc:white -pointsize 48  -draw 'text 10,100 ""' null:
gm convert: Non-conforming drawing primitive definition (text).
%

I am not sure when this problem started but I am not seeing it in GraphicsMagick 1.3.13 (which I happend to have readily available).

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

Reply via email to