Page 1 of 1

Font-Rendering-Trouble, SuSE 10.1, IM 6.3.2

Posted: 2007-06-22T03:23:46-07:00
by getThemAlive
Hello magick-users!

I am having a little problem with Fonts in ImageMagick. Unfortunately I haven't found anything on the web to solve it. It would be wonderful, if you could help me with it.

The Problem:

When using IM via bash-command

Code: Select all

convert -background white -fill black -font Helvetica -pointsize 32 label:testtext label.gif
he gives me the following error message:

Code: Select all

convert: FreeTypeLibraryIsNotAvailable `/usr/share/ghostscript/fonts/n019003l.pfb'.
convert: FreeTypeLibraryIsNotAvailable `/usr/share/ghostscript/fonts/n019003l.pfb'.
convert: FreeTypeLibraryIsNotAvailable `/usr/share/ghostscript/fonts/n019003l.pfb'.
which is strange, because a "convert -list type" returns this:

Code: Select all

Path: /usr/local/lib/ImageMagick-6.3.2/config/type-ghostscript.xml

Name                             Family                 Style   Stretch   Weight
--------------------------------------------------------------------------------
...
Helvetica                        Helvetica              Normal  Normal       400
...
... and a locate libfreetype returns:

Code: Select all

/usr/lib/libfreetype.a
/usr/lib/libfreetype.la
/usr/lib/libfreetype.so
/usr/lib/libfreetype.so.6
/usr/lib/libfreetype.so.6.3.8
/usr/X11R6/lib/modules/fonts/libfreetype.so
When using convert with a Truetype-Font-File on the command-line (-font MYFONT.TTF), the error message reads like this:

Code: Select all

convert: FreeTypeLibraryIsNotAvailable `MYFONT.TTF'.
convert: FreeTypeLibraryIsNotAvailable `MYFONT.TTF'.
convert: FreeTypeLibraryIsNotAvailable `MYFONT.TTF'.
The funny thing is, that (only in this TTF-case) it is producing the Image with the right font in spite of the error messages (which puzzled me completely).

I am running ImageMagick 6.3.2 on a SuSE 10.1 Linux-Box (Pentium II). locate and updatedb are installed and working fine. I reinstalled ImageMagick after installing freetype-devel packages ( compiled it on my machine ).

It would be great, if one of you has come across this problem and could tell me what else to try, for I am stuck here ...

Thanks in advance

Ingmar

Re: Font-Rendering-Trouble, SuSE 10.1, IM 6.3.2

Posted: 2007-06-22T05:05:11-07:00
by getThemAlive
Seems strange, but after I added libtiff via yast the trouble with the font disappeared.
Perhaps a bug?

Ingmar

Re: Font-Rendering-Trouble, SuSE 10.1, IM 6.3.2

Posted: 2007-06-26T17:58:01-07:00
by anthony
Helvetical is a ghostscript font. It needs ghostscript installed.