pre-rendered bitmap font?

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
yecril71pl
Posts: 81
Joined: 2011-02-08T11:06:09-07:00
Authentication code: 8675308
Location: Warsaw, Poland
Contact:

pre-rendered bitmap font?

Post by yecril71pl »

Hi. I am looking for a way to make IM use a pre-rendered bitmapped font subset (pcf?) (fixed size, no AA, no paths, slants or rotations) — I hope it would make IM quick as a line printer and my application would stop crashing. Please help.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: pre-rendered bitmap font?

Post by anthony »

You could just try the .pcf file as a -font argument. The font renderer is generally quite versatile.

Oh and please let us know what the result was (good or bad).
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
yecril71pl
Posts: 81
Joined: 2011-02-08T11:06:09-07:00
Authentication code: 8675308
Location: Warsaw, Poland
Contact:

Re: pre-rendered bitmap font?

Post by yecril71pl »

anthony wrote:You could just try the .pcf file as a -font argument. The font renderer is generally quite versatile.

Oh and please let us know what the result was (good or bad).
No result :(
onvert: unable to read font `./courR24.bdf' @ error/annotate.c/RenderFreetype/1115.
convert: unable to read font `./courR24.bdf' @ error/annotate.c/RenderFreetype/1115.
(I used the Adobe distribution)

Alternatively, is there a way to use FreeType to render glyph bitmaps, preferably with (build-in) glyph caching? Currently FreeType is used only to extract outlines that are rendered as curves.
Post Reply