Page 1 of 1

interline-spacing with caption bug

Posted: 2011-03-31T20:54:00-07:00
by ifunk
I'm using v6.6.9 on Windows, however have also tested on unix - same problem.

When using interline-spacing with the caption command, the height of the canvas is not set correctly. It appears as though the height is calculated by the text *before* interline-spacing is applied. Here is an example, due to the interline-spacing the third line of text is not visible.

convert -density 72 -size 100x -pointsize 12 -interline-spacing 12 -font Arial caption:"First\nSecond\nThird" label_lspace_double.gif

Re: interline-spacing with caption bug

Posted: 2011-04-01T07:06:26-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.6.9-3 Beta available by sometime tomorrow. Thanks.

Re: interline-spacing with caption bug

Posted: 2011-04-01T14:37:05-07:00
by ifunk
Awesome. Great work guys.