Class TCastleBitmapFont

Unit

Declaration

type TCastleBitmapFont = class(TCastleAbstractFont)

Description

Bitmap font, where each character is just drawn (and may be multi-color) on a raster image. See https://en.wikipedia.org/wiki/Computer_font about "bitmap font" or (less common name, but more valid) "raster font".

By default this class makes some assumptions about how the font image looks like: the characters are placed on the image in their Unicode order, starting from space in the upper-left corner. TODO: Use OnGlyph event to customize it.

Examples of such fonts:

Source: fonts/castlefonts_bitmapfont.inc (line 37).

Hierarchy


Generated by PasDoc 0.17.0.snapshot.