Possible text alignment issue with IM6 and IM7
Posted: 2016-02-28T21:50:12-07:00
Using Windows 7 64 and both of these versions of IM...
ImageMagick 6.9.3-6 Q16 x64 2016-02-28 (installed from ImageMagick-6.9.3-6-Q16-HDRI-x64-static.exe)
ImageMagick 7.0.0-0 Q16 x64 2016-02-28 (installed from ImageMagick-7.0.0-0~beta20160228-Q16-HDRI-x64-static.exe)
I'm having an issue with the alignment of text using "magick" or "convert" in a command like this...
When specifying a point size of pretty much anything over the default of 12, or with a higher density setting like 300, the last couple rows of pixels on the right side get clipped off and the last column of pixels on the right is all white. It's especially noticeable if that last character is a wide one, like an upper case "O" or a zero, something that takes up the entire width.
It happens if I specify any value for kerning, even a negative value. It doesn't show up in some cases with gravity settings other than default, but when I specify an italic version of a font like this...
... a bit of that last character seems to fall outside the image boundaries under any conditions.
I don't know if this may be something other people have trouble with and if the developers should look into it.
ImageMagick 6.9.3-6 Q16 x64 2016-02-28 (installed from ImageMagick-6.9.3-6-Q16-HDRI-x64-static.exe)
ImageMagick 7.0.0-0 Q16 x64 2016-02-28 (installed from ImageMagick-7.0.0-0~beta20160228-Q16-HDRI-x64-static.exe)
I'm having an issue with the alignment of text using "magick" or "convert" in a command like this...
Code: Select all
magick -pointsize 24 label:"ONE TWO" test.png
It happens if I specify any value for kerning, even a negative value. It doesn't show up in some cases with gravity settings other than default, but when I specify an italic version of a font like this...
Code: Select all
convert -font arial-bold-italic -pointsize 120 -gravity center label:"ONE TWO" test.png
I don't know if this may be something other people have trouble with and if the developers should look into it.