I’ve been getting this error for a while on my production server (Ubuntu running ImageMagick, Rmagick, etc).
From Googling around it seems to be not finding the right fonts to use, and this needs to be set correctly in
sudo nano /usr/lib/ImageMagick-6.3.7/config/type-ghostscript.xml
When I open up this file it lists a bunch of fonts in this directory
/usr/share/fonts/type1/gsfonts/
They all exist. I’ve tried changing the owner and permissions on those fonts. Doesn’t seem to help.
Has anyone encountered this and been able to fix it? Thanks!
Finally solved it after MONTHS!!
Answer was here: http://rubyforge.org/forum/forum.php?thread_id=8742&forum_id=4402
Had to compile imagemagick with the “–with-gs-font-dir=/where/your/gs/fonts/live” flag
did a “locate .pfb” to find where they were. for me it was “–with-gs-font-dir=/usr/share/fonts/type1/gsfonts” on ubuntu
Complete steps below. Note I had to use the “–disable-openmp” flag also due to another bizarre error described here: http://computerplumber.com/2009/01/installing-rmagick-28-gem-on-hardy/
This has been possibly the worst install experience I’ve ever encountered in my life due to this and numerous other bugs. Shame on imagemagick and rmagick.