Class for handling fonts.
Class for handling fonts. Font is a wrapper class for two kinds of fonts (might change in the future): normal Allegro fonts (struct FONT) and AlFont fonts (struct ALFONT_FONT). AlFont is an Allegro addon library which is basically a wrapper for the FreeType project. The Font class provides a unified API for loading and outputting text with many types of fonts including bitmap, BIOS, GRX, truetype, type1 fonts and some other formats. There are also other text output functions specifically meant for GUI purposes.
ALLEGRO_FONT - normal Allegro FONT
FREETYPE_FONT - AlFont's ALFONT_FONT
- bitmap font (either BMP, PCX, LBM or TGA)
- BIOS 8x8 or 8x16 font (FNT)
- GRX font (FNT)
- scripted font (TXT)
- Impulse Tracker 8x8 font (ITF)
- any of the formats supported by AlFont (True Type, Type 1, etc.)
Alphabetic index Hierarchy of classes