{
int font_bitmap_id = gfx.select_font_function(font_nr);
struct FontBitmapInfo *font = &gfx.font_bitmap_info[font_bitmap_id];
- boolean default_font = (font->num_chars == DEFAULT_NUM_CHARS_PER_FONT);
int font_pos = (unsigned char)c - 32;
// map some special characters to their ascii values in default font
- if (default_font)
+ if (font->num_chars == DEFAULT_NUM_CHARS_PER_FONT)
font_pos = MAP_FONT_ASCII(c) - 32;
+ else if (font->num_chars == NUM_CHARS_PER_FONT_EXT)
+ font_pos = MAP_FONT_ASCII_EXT(c) - 32;
// this allows dynamic special characters together with special font
if (font_pos < 0 || font_pos >= font->num_chars)