Tom McDonough on  wrote...
| Using text in IM is always a crapshoot for me.  I'm using OS X Tiger and IM  
6.3.2 Q16.  I seem to have very few ghostscript fonts.  Experimenting with one 
of Anthony's forum responses (create neon text) I typed in:
| 
| convert -fill dodgerblue -background black -font Anaconda -pointsize 48 
label:' IM examples ' -bordercolor black -border 20x20\( +clone -blur 0x15 
-evaluate multiply 2 \) -compose screen -composite IM_Neon.gif
| 
| I got an error message:
| convert: unable to read font `Anaconda'.
| convert: FreeTypeLibraryIsNotAvailable 
`/usr/local/share/ghostscript/fonts/n019003l.pfb'.
| 
| So I changed the font to Helvetica and got the same error message: 
| 
| convert: FreeTypeLibraryIsNotAvailable 
`/usr/local/share/ghostscript/fonts/n019003l.pfb'.
| 
| So I peeked inside n0190031.pfb and found it is empty.  Then I peeked inside 
fonts.dir and used one of the fonts I found there (Gothic).  Same error message.
| 
| convert -list type
| tells me I have Helvetica but curiously seems to be aimed at a different 
library:
| Path: /usr/local/lib/ImageMagick-6.3.2/config/type-ghostscript.xml
| 
| Is this a compile error?  Can I fill n0190031.pfb with whatever IM is looking 
for?
| 
| 
To use a TTF you need take have the freetype library available.

To use Helvetica   Ghostscript must be working, and its fonts must be
installed.

If the font is not where "type-ghostscript.xml" defines it, then of
course IM will not find it.

The error message is tell you it can't even find the 'fallback' font!

I say you need to do some installing and updating of the secondary
software on your system.

Also look at the top level page of IM examples, on methods of finding
and defining fonts for IM to use.
   http://www.imagemagick.org/Usage/#font

Included is a reference to a linux script, which uses 'locate' to find
the fonts on your system to create an updated "type.xml" file.


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
    Kite(n):  An offering to the wind gods proffered on a line that
       they find sufficiently attractive to accept when it is dangled
       in front of them.          -- Anne Sloboda, c/o <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to