1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-14 20:10:08 +03:00

French special chars added

This commit is contained in:
Bertrand Songis 2016-04-05 09:53:14 +02:00
parent 05ad98f9d8
commit ce0b17744c
20 changed files with 72 additions and 55 deletions

View file

@ -326,6 +326,11 @@ void BitmapBuffer::drawSizedText(coord_t x, coord_t y, const char * s, uint8_t l
break;
}
else if (c >= 0x20) {
#if defined(TRANSLATIONS_FR)
if (c >= 0x80 && c <= 0x85) {
c = 0x20 + 115 + c - 0x80;
}
#endif
if (fontcache) {
drawCharWithCache(x, y, fontcache, fontspecs, getMappedChar(c), flags);
}