fonts suitable for 8 points ?

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
McRib

fonts suitable for 8 points ?

Post by McRib »

When I use

Code: Select all

convert -size 100x65 xc:lightblue -font Courier -pointsize 8 \
           -annotate +0+8 "$OUTPUT" -depth 1  lala.bmp
I am getting an aliased font that is pretty unreadable. I am looking for something that displays w/o aliasing and uses 1-pixel-lines for the characters since they will be displayed on a LCD...

Is there a way to see to which fonts Imagemagick already has access to (list fonts) ?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: fonts suitable for 8 points ?

Post by magick »

To list the fonts type
  • identify -list type
McRib

Re: fonts suitable for 8 points ?

Post by McRib »

thanks: the command works. But it looks as if I have only Courier as monospaced/fixed width font. It looks usable in 8pt. Where would I get suitable fonts ?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: fonts suitable for 8 points ?

Post by Bonzo »

To use a special font upload it to your site and specify the path in the code e.g.

Code: Select all

convert -size 100x65 xc:lightblue -font Arial.ttf -pointsize 8 \
           -annotate +0+8 "$OUTPUT" -depth 1  lala.bmp

McRib

Re: fonts suitable for 8 points ?

Post by McRib »

can imagemagic handle pixel/non-vector fonts ?
where would I get them ?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: fonts suitable for 8 points ?

Post by anthony »

The only alturnative is some type of bitmap font.

At the moment the only bitmaped fonts that I know IM can use is from an X windows display. Unfortunatally that only seems to work from terminal runnings some type of X window display IM can pull the font from.

I do not know of a way to use a X windows bitmap font without using a X window display, (even a virtual one). ;-(

Does anyone known how you can use a bitmap font without using a running X server.

For example a PCF or BDF font?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
McRib

Re: fonts suitable for 8 points ?

Post by McRib »

Are there any other bitmap fonts Imagemagick can use ?
Post Reply