diff --git a/src/v_font.cpp b/src/v_font.cpp index d1453d259..01bba067e 100644 --- a/src/v_font.cpp +++ b/src/v_font.cpp @@ -286,6 +286,7 @@ static const uint16_t loweruppercase[] = { 0x0078,0x0058, 0x0079,0x0059, 0x007A,0x005A, +0x00DF,0x1E9E, 0x00E0,0x00C0, 0x00E1,0x00C1, 0x00E2,0x00C2, @@ -1011,7 +1012,12 @@ static int stripaccent(int code) static const uint16_t u200map[] = {0xc4, 0xe4, 0xc2, 0xe2, 0xcb, 0xeb, 0xca, 0xea, 0xcf, 0xef, 0xce, 0xee, 0xd6, 0xf6, 0xd4, 0xe4, 'R', 'r', 'R', 'r', 0xdc, 0xfc, 0xdb, 0xfb, 0x15e, 0x15f, 0x162, 0x163}; return u200map[code - 0x200]; } - + else if (code == 0x201d) + { + // Map the typographic upper quotation mark to the generic form + code = '"'; + } + // skip the rest of Latin characters because none of them are relevant for modern languages. return code;