C
typedef struct { BYTE fontID; BYTE extendedGlyphEntry : 1; BYTE res1 : 1; BYTE bpp : 2; BYTE orientation : 2; BYTE res2 : 2; WORD firstChar; WORD lastChar; WORD height; } FONT_HEADER;
Overview
Structure describing the font header.
Members
Members |
Description |
BYTE fontID; |
User assigned value |
BYTE extendedGlyphEntry : 1; |
Extended Glyph entry flag. When set font has extended glyph feature enabled. |
BYTE res1 : 1; |
Reserved for future use (must be set to 0) |
BYTE bpp : 2; |
Actual BPP = 2bpp
|
BYTE orientation : 2; |
Orientation of the character glyphs (0,90,180,270 degrees)
|
BYTE res2 : 2; |
Reserved for future use (must be set to 0). |
WORD firstChar; |
Character code of first character (e.g. 32). |
WORD lastChar; |
Character code of last character in font (e.g. 3006). |
WORD height; |
Font characters height in pixels. |