Problem with font rendering (looks too thin)
Posted: 2010-11-27T10:38:38-07:00
Hi!
I need to generate headline images for a client. On my Mac, everything works fine, but on the server (runs on old version of Debian), the font looks to thin.
This is, what I generated on my Mac:

This is the result of the same command on Linux:

The code to generate the image is:
On the Mac, I've installed ImageMagick 6.6.2-9 via Macports. On the Debian server, it was installed via apt-get (Version is 6.3.7). I could reproduce the problem on my private Ubuntu server (6.5.7-8) and even compiled 6.6.5-9 from the source, but the result was always the the same. So it's not the version of ImageMagick, but might be a dependent library. The font is also broken, if I generate a non-transparent background.
Any ideas? Please help (as I'm already late with this project)!
Regards, iGEL
I need to generate headline images for a client. On my Mac, everything works fine, but on the server (runs on old version of Debian), the font looks to thin.
This is, what I generated on my Mac:

This is the result of the same command on Linux:

The code to generate the image is:
Code: Select all
convert -size 350x120 -background 'rgba(0,0,0,0)' -font ScalaSan.ttf -gravity SouthWest -pointsize 20 -fill 'rgba(0,0,0,0.7)' caption:"This is the desired image." test.png
Any ideas? Please help (as I'm already late with this project)!
Regards, iGEL