Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
uint16_t offsetMSB; The most Significant (2) bytes of the glyph location offset.
Description
Typedef: GFX_FONT_GLYPH_ENTRY
Each character's bitmap (or glyph) in a font is described by its glyph entry structure. The entry will define the width and the
offset of the character glyph from the header of the font table.
Remarks
None.
1.6.1.2.9 GFX_FONT_GLYPH_ENTRY_EXTENDED Type
The structure describing the entended glyph entry in fonts.
File
gfx_types_font.h
Syntax
typedef struct {
uint32_t offset;
uint16_t cursorAdvance;
uint16_t glyphWidth;
int16_t xAdjust;
int16_t yAdjust;
} GFX_FONT_GLYPH_ENTRY_EXTENDED;
Members
Members Description
uint32_t offset; The offset of the glyph. The offset order is: LSW_LSB
LSW_MSB MSW_MSB MSW_MSB.
uint16_t cursorAdvance; The x-value by which cursor has to advance after rendering
the glyph.
uint16_t glyphWidth; The width of the glyph.
int16_t xAdjust; The value that adjusts the x-position.
int16_t yAdjust; The value that adjusts the y-position.
Description
Typedef: GFX_FONT_GLYPH_ENTRY_EXTENDED
Similar to the GFX_FONT_GLYPH_ENTRY, each character's glyph in a font that supports entended characters is also
described by its glyph entry structure. The difference is that the extended glyph entry will contain additional information on
how the characters are overlapped.
Remarks
None.
1.6.1.2.10 GFX_FONT_HEADER Type
The structure used to define the font header.
File
gfx_types_font.h
Syntax
typedef struct {
uint8_t fontID;
uint8_t extendedGlyphEntry : 1;
uint8_t res1 : 1;
1.6 Library Interface MLA - Graphics Library Help Graphics Primitive Layer
143
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf