MagickQueryFontMetrics() incorrect text width

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
vav

MagickQueryFontMetrics() incorrect text width

Post by vav »

Hi,

Try to call MagickQueryFontMetrics() for string "lll" (lowercase L) with this font: http://www.atwss.com/vav/creampuff.ttf. It is less than text actually requires!

I tested it on IM 6.2.7.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You can always add the max_advance metric to ensure a proper bounding box. In the mean-time we will investigate and add a patch if required.
Post Reply