aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/mcufont/mf_font.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdisp/mcufont/mf_font.h')
-rw-r--r--src/gdisp/mcufont/mf_font.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gdisp/mcufont/mf_font.h b/src/gdisp/mcufont/mf_font.h
index 1166fa3b..ff8840c8 100644
--- a/src/gdisp/mcufont/mf_font.h
+++ b/src/gdisp/mcufont/mf_font.h
@@ -53,17 +53,17 @@ struct mf_font_s
uint8_t flags;
/* Fallback character to use for missing glyphs. */
- mf_char fallback_character;
+ uint16_t fallback_character;
/* Function to get character width. Should return 0 if character is
* not found. */
- uint8_t (*character_width)(const struct mf_font_s *font, mf_char character);
+ uint8_t (*character_width)(const struct mf_font_s *font, uint16_t character);
/* Function to render a character. Returns the character width or 0 if
* character is not found. */
uint8_t (*render_character)(const struct mf_font_s *font,
int16_t x0, int16_t y0,
- mf_char character,
+ uint16_t character,
mf_pixel_callback_t callback,
void *state);
};