S32BIT descent
Definition: mg_fontapi.h:36
struct s_FontMetrics S_FontMetrics
void MG_GetFontMetrics(H_FontSize f_sz, S_FontMetrics *pMetrics)
Get font Metrics.
Definition: mg_font.c:569
void MG_FontExit(void)
Free all data associated with built-in font and terminate freetype library.
Definition: mg_font.c:185
const char * data
Definition: mh5gate.c:65
void MG_FontFreeFile(S16BIT font_index)
free memory associated with file
Definition: mg_font.c:376
H_FontSize MG_AllocateFont(S16BIT fnt_index, U8BIT fnt_size, U8BIT fnt_style)
Allocate font of particular size from font file.
Definition: mg_font.c:482
S32BIT ascent
Definition: mg_fontapi.h:35
struct sFontSize * H_FontSize
Definition: mg_fontapi.h:31
int16_t S16BIT
Definition: techtype.h:96
void MG_SetMaxFonts(U16BIT max)
Set Max allowable fonts for profile.
Definition: mg_font.c:164
S32BIT height
Definition: mg_fontapi.h:37
uint8_t U8BIT
Definition: techtype.h:93
BOOLEAN MG_FontInit(BOOLEAN isHD)
Initialise freetype library and load "built-in" font.
Definition: mg_font.c:92
Definition: mg_fontapi.h:33
S32BIT maxWidth
Definition: mg_fontapi.h:39
int32_t S32BIT
Definition: techtype.h:98
uint16_t U16BIT
Definition: techtype.h:95
System Wide Global Technical Data Type Definitions.
S16BIT MG_FontLoadFile(const U8BIT *data, U32BIT length)
Load font data file into memory for freetype.
Definition: mg_font.c:210
U8BIT BOOLEAN
Definition: techtype.h:112
S32BIT minWidth
Definition: mg_fontapi.h:38
uint32_t U32BIT
Definition: techtype.h:97
void MG_ReleaseFont(H_FontSize f_sz)
Allocate font of particular size from font file.
Definition: mg_font.c:503