Bitmap font

From Wikipedia, the free encyclopedia

An assortment of bitmap fonts from the first version of the Macintosh operating system.
Enlarge
An assortment of bitmap fonts from the first version of the Macintosh operating system.

A bitmap font is one that stores each glyph as an array of pixels (that is, a bitmap). It is less commonly known as a raster font.

[edit] Scaling

Bitmap fonts look best at their native pixel size. At non-native sizes, many text rendering systems perform nearest-neighbor resampling, introducing ugly jagged edges. More advanced systems perform anti-aliasing on bitmap fonts whose size does not match the size that the application requests. This technique works well for making the font smaller but not as well for increasing the size, as it tends to blur the edges. Some graphics systems that use bitmap fonts, especially those of emulators, apply curve-sensitive nonlinear resampling algorithms such as 2xSaI or hq3x on fonts and other bitmaps, which avoids blurring the font while introducing little objectionable distortion at moderate increases in size.

A "trace" program can follow the outline of a high-resolution bitmap font and create an initial outline that a font designer uses to create an outline font useful in systems such as PostScript or TrueType. Outline fonts scale easily without jagged edges or blurriness.

[edit] Bitmap font formats

A bitmap color font for the Amiga OS.
A bitmap color font for the Amiga OS.
  • Portable Compiled Font (PCF)
  • Glyph Bitmap Distribution Format (BDF)
  • Server Normal Format (SNF)
  • DECWindows Font (DWF)
  • Sun X11/NeWS format (BF)
  • Microsoft Windows bitmapped font (FON)
  • Amiga Font, ColorFont, AnimFont

[edit] Uses outside computing

Bitmap fonts may be used in cross-stitch.


In other languages