FONT* name = "filename";

FONT* name = "fontname#size(style)";

Defines a fixed width character font out of an image file, or a proportional font from a truetype file. For the image file format, the same restrictions as for bmap apply. The bitmap must either contain 11 characters - numbers 0..9 and space - for numerical displays, or 32x4 or 32x8 characters for alphanumerical text.

Parameters:

name name of the font
filename name of the font bitmap file
fontname name of the truetype font. Fonts existing on all Windows machines are "Arial", "Times", and "Courier".
style style of the truetype font, omit = normal, b = bold, i = italics, bi = bold + italics
size the height of a truetype character in points

Remarks:

Examples:

FONT* panel_font = "ventfont.pcx"; // panel text font
FONT* arial_font = "Arial#20b"; // truetype font 		

See also:

bmap, sound, font_create, file formats ► latest version online