Synopsis
typedef struct {
unsigned width;
unsigned height;
unsigned chars;
const unsigned char *widths;
const unsigned short *index;
const unsigned char *bitmap;
} CTL_GFX_BITMAP_FONT_t;
Description
CTL_GFX_BITMAP_FONT_t describes a fixed-width raster font.
-
width
- The width of each glyph in the font.
-
height
- The height of each glyph in the font.
-
chars
- The number of characters in the font.
-
width
- A pointer to the width (in pixels) of each glyph in the font.
-
index
- UCS encoding of each character in the font.
-
bitmap
- A pointer to the raster data of the font.