The system font objects are globally available for a graphical application.
System fonts are by design read only, hence there are not any functions to change them during runtime. If the application needs additional fonts it should add additional font objects.
Macros | |
#define | SYSFONT_DEFINE_GLYPHS |
Define variable containing the font. More... | |
#define | SYSFONT_FIRSTCHAR ((uint8_t)' ') |
First character defined. More... | |
#define | SYSFONT_HEIGHT 7 |
Height of each glyph, excluding spacer line. More... | |
#define | SYSFONT_LASTCHAR ((uint8_t)'}') |
Last character defined. More... | |
#define | SYSFONT_LINESPACING 8 |
Line height. More... | |
#define | SYSFONT_WIDTH 6 |
Width of each glyph, including spacer column. More... | |
#define | USE_FONT_BASIC_6x7 |
Variables | |
struct font | sysfont |
Initialize a basic system font. More... | |
#define SYSFONT_DEFINE_GLYPHS |
Define variable containing the font.
#define SYSFONT_FIRSTCHAR ((uint8_t)' ') |
First character defined.
#define SYSFONT_HEIGHT 7 |
Height of each glyph, excluding spacer line.
#define SYSFONT_LASTCHAR ((uint8_t)'}') |
Last character defined.
#define SYSFONT_LINESPACING 8 |
Line height.
Referenced by menu_draw().
#define SYSFONT_WIDTH 6 |
Width of each glyph, including spacer column.
#define USE_FONT_BASIC_6x7 |
struct font sysfont |
Initialize a basic system font.
This initializes a basic system font globally usable by the application.
Referenced by gfx_mono_menu_init(), and menu_draw().