For years I have been converting text output in IM Examples to a GIF file format so that the output can be displayed simply on the IM Example Web pages. For example...
Code: Select all
convert -size 2x2 xc:grey +depth -compress none PGM:-
using the script "txt2gif which basically uses at its core...
Code: Select all
cat "output_file.txt" | convert -font CourierNew -pointsize 12 label:@- "output_file.txt.gif"
However recently I upgraded my machine from Fedora 14 to Fedora 16 and the GIF image being generated looks like this which is rather horrible looking!
The same code, IM version, and Font file is being used (verified). IM was compiled on both machine from the same source using the same configuration. The only change is only the OS version has changed.
The CourierNew font is a standard TTF font (monospaced) and one I have been using a VERY long time. Their has been minor changes in the way the font was rendered (slight pixel intensity or single pixel moves o the text in the image) but nothing like this horrid change.
So does anyone know what changed between Fedora 14 and 16 to cause such a horrible change in the font rendering?