ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
Re: Fonts in RMagick
by Tim Hunter other posts by this author
May 31 2008 11:02AM messages near this date
Fonts in RMagick | Ruby 1.8.7 has been released
Axel Etzold wrote:
>  Dear all,
>  
>  I am at a loss installing Rmagick on Ubuntu Gutsy (7.10) - tried both compiling from sourc
e and the gem --
>   I've read the documentation FAQ  and tried several font configuration tools... but when I
 install Rmagick, I still get loads of errors like:
>  
>  RMagick: unable to read font `/usr/local/lib/ImageMagick-6.4.1/config//usr/local/share/gho
stscript/fonts/n019003l.pfb'.
>  
>  My fonts are actually in /usr/share/type1/gsfonts ...
>  
>  Where in the Makefile of RMagick can I specify this directory ?
>  Thank you very much for your help.
>  
>  Best regards,
>  
>  Axel 

This message is actually from ImageMagick, not RMagick. When you run 
ImageMagick's configuration script, use the --with-gs-font-dir option:

./configure --with-gs-font-dir=/usr/share/type1/gsfonts ...other options...

See http://rmagick.rubyforge.org/install-linux.html and 
http://www.imagemagick.org/script/advanced-unix-installation.php for 
more information, and drop me a line at rmagick at rubyforge dot org if 
you need help.

Good luck!


-- 
RMagick: http://rmagick.rubyforge.org/
RMagick 2: http://rmagick.rubyforge.org/rmagick2.html
Thread:
Axel Etzold
Tim Hunter

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved