6 typedef struct osdCharacter_s osdCharacter_t
;
8 typedef struct displayFontMetadata_s
{
11 } displayFontMetadata_t
;
14 #define FONT_CHR_IS_METADATA(chr) ((chr)->data[0] == 'I' && \
15 (chr)->data[1] == 'N' && \
16 (chr)->data[2] == 'A' && \
17 (chr)->data[3] == 'V')
19 #define FONT_METADATA_CHR_INDEX 255
20 // Used for runtime detection of display drivers that might
21 // support 256 or 512 characters.
22 #define FONT_METADATA_CHR_INDEX_2ND_PAGE 256
24 bool displayFontMetadataUpdateFromCharacter(displayFontMetadata_t
*metadata
, const osdCharacter_t
*chr
);