List Info

Thread: Re: fonts and text




Re: fonts and text
country flaguser name
United States
2007-03-22 08:55:33
Anthony,
I'm sorry I didn't read "Font Usage" more
carefully.  I've run your script and convert can now find
more than enough fonts.  HOWEVER, my problem persists.  A
ttf in my basic OS X font collection is Baghdad found at
/Library/Fonts/Baghdad.ttf.  "convert -list type"
finds it but I still get the complaint:

% convert -fill dodgerblue -background black -font
/Library/Fonts/Baghdad.ttf -pointsize 48 label:' your name
here '  text.gif
convert: FreeTypeLibraryIsNotAvailable
`/Library/Fonts/Baghdad.ttf'.
convert: FreeTypeLibraryIsNotAvailable
`/Library/Fonts/Baghdad.ttf'.
convert: FreeTypeLibraryIsNotAvailable
`/Library/Fonts/Baghdad.ttf'.

Any ideas?
Tom


Anthony Thyssen <anthonygriffith.edu.au> wrote:
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.ima
gemagick.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 )    
 -----------------------------------------------------------
------------------
    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 
 -----------------------------------------------------------
------------------
     Anthony's Home is his Castle     http://www.cit.gu.
edu.au/~anthony/
_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users


 
---------------------------------
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )