Font Problem.

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?".
Post Reply
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Font Problem.

Post by anthony »

Postscript is completely handled by Ghostscript, not by IM that reads a raster image from the ghostscript program.

The font thus must be part of ghostscript and its setup, not Imagemagick.

Standard behaviour for 'unknown' or 'un-provided' fonts, which is the case here, is to substitute the default, helvetica. thus that is what you see.

You will need to look at ghostscript documentation about adding this font to its configuration.


NOTE, IM itself may be adding the font to its call to the ghostscript command for its 'label:' processing. Whcih is why a 'label' worked. IM knows about the font. But that does not mean the ghostscript itself knows about the font for normal postscript file handling.

IM itself does not look to see what fonts a postscript file needs as as it assumes it is a 'proper postscript' file using standard fonts, or has the font embedded in the postscript. In other wosrd either fix ghostscript, or fix your postscript file with a copy of the embeded font needed.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply