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:
parent
05ad98f9d8
commit
ce0b17744c
20 changed files with 72 additions and 55 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue