We recently upgraded from MSVC-2010 to MSVC-2017 and moved from ImageMagick-6.9.1-Q16 to ImageMagick-7.0.7-15.
The text rendered with Image::annotate is noticeably more jagged with the new version. Is there anything we can do to improve it?
We use this Magic++ code to read an image file (in this case plain black) and add multiple lines of text.
The left side is taken from the new version the right side is the old. The font size and positioning has changed slightly as well. My two images have not been scaled, but they are cropped slightly differently -- the positioning is not as far out as they seem here.
Both samples are anti-aliased. Are you using the same font? You use "Ariel", not the more usual "Arial". (If you don't have an "Ariel" font, IM will use a default, which may be "Arial".) Do you have the same version of freetype?
If you have command-line version of IM, I suggest you try that in both versions, eg:
Sorry, both samples were created from the same source at the same time -- any typos I the font name were in my editing of the code for the purpose posting here -- in real life it's user configured.
according to "convert -list font" it's this one
Both new and old versions of convert list the same glyphs file, so I assume it's a subtle change in the rendering somewhere.
I don't knowingly have any version of free type except what comes with the respective versions of ImageMagik++.