interline-spacing with caption bug

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
ifunk
Posts: 2
Joined: 2011-03-31T20:47:18-07:00
Authentication code: 8675308

interline-spacing with caption bug

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: interline-spacing with caption bug

Post 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.
ifunk
Posts: 2
Joined: 2011-03-31T20:47:18-07:00
Authentication code: 8675308

Re: interline-spacing with caption bug

Post by ifunk »

Awesome. Great work guys.
Post Reply