Font problems

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Locked
troyd1
Posts: 73
Joined: 2007-07-29T17:13:19-07:00

Font problems

Post by troyd1 »

When I do a simple:
convert -font "arial" -pointsize 24 label:"this is some text" new.jpg
it works.

If I change the font to Helvetica-BoldOblique, I get the error:
convert: unable to read font `n019024l.pfb'
convert: missing an image filename new.jpg

When I do convert -list type, Helvetica-BoldOblique is one that is listed. I am running windows 2003 server, but the font does not show up as one of the available fonts. This happens for many fonts. It appears that if I stick to the fonts available in windows, I am ok. It appears that if I use any of the fonts under ghostscript.xml, they do not work.

What is wrong? Does the list need to be rebuilt? If so, how. I just installed the latest version of im a few days ago.

Also, I installed freetype and reinstalled IM, but there was no change. Do I need ghost script also? Is there good doc on this?

User avatar
anthony
Posts: 8884
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Font problems

Post by anthony »

The problem is the fonts defined as being available in these files for 'ghostscript' is not where IM thinks they are.

I suggest you download the use the script on the top level page of IM Examples
http://www.imagemagick.org/Usage/#font
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/

Locked