Bug in label autofitting for non-square density

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
Ghealron
Posts: 2
Joined: 2011-09-15T05:01:53-07:00
Authentication code: 8675308

Bug in label autofitting for non-square density

Post by Ghealron »

Hi,

I am using the label autofitting feature. It works great unless one uses a non-square density (such as 480x1200 dpi). It does not appear to account for the density when calculating the size of the text, but does when drawing it, so the text ends up the wrong size for the space provided. I am using version 6.7.2-5. A command to replicate the behaviour:

convert -units PixelsPerInch -density 480x1200 -background lightblue -fill blue -font Candice -size 165x70 label:Anthony label_size_fit.gif
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Bug in label autofitting for non-square density

Post by magick »

We can reproduce the problem you posted. We added it to our bug list. Thanks.
Post Reply