possible bug caption: wrap

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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug caption: wrap

Post by fmw42 »

The following is not wrapping and seems to chop off some of the text at the right side in IM 6.7.8.7 as well as 6.7.6.10 and 6.7.4.10.

This may be due to the fact that the algorithm changed for automatic pointsize control, but is now failing when pointsize is specified.

convert -background black -fill white -font Arial -pointsize 36 -gravity center -size 300x caption:"HAPPY HOLIDAYS" 1caption_im.jpg
imo convert -background black -fill white -font Arial -pointsize 36 -gravity center -size 300x caption:"HAPPY HOLIDAYS" 1caption_imo.jpg
im6 convert -background black -fill white -font Arial -pointsize 36 -gravity center -size 300x caption:"HAPPY HOLIDAYS" 1caption_im6.jpg

All results above are the same:

Image
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug caption: wrap

Post by magick »

We can reproduce the problem you posted and have a patch available in ImageMagick 6.7.8-8 Beta by sometime tomorrow. Thanks.
Post Reply