[fixed ]Crash with caption with unicode break

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

[fixed ]Crash with caption with unicode break

Post by broucaries »

The following command results in an infinite loop:
  • convert -size 600x400 xc:wheat -font URW-Gothic-Book-Oblique \
    -pointsize 20 -gravity Center -size 580x \
    caption:'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x' \
    -append /tmp/output.png
The space between the two words of text is actually "U+00A0 NO-BREAK
Last edited by broucaries on 2011-04-21T05:37:12-07:00, edited 1 time in total.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Crash with caption with unicode break

Post by broucaries »

A test case could be found at the end of http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614117
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Crash with caption with unicode break

Post by magick »

The problem you reported is fixed in recent versions of ImageMagick.
Post Reply