GRAPHICS: Fix glyph offsets for PC98 glyphs *9e

This commit is contained in:
Vladimir Serbinenko 2023-05-19 18:07:18 +02:00
parent 455e6d1779
commit 2366bff928

View File

@ -554,9 +554,9 @@ const uint8 *FontPC98::getCharData(uint16 ch) const {
if (lo >= 0x3f && lo <= 0x7e)
glyph += lo - 0x3f;
else if (lo >= 0x80 && lo <= 0x9d)
else if (lo >= 0x80 && lo <= 0x9e)
glyph += lo - 0x80 + 64;
else if (lo >= 0x9e && lo <= 0xfc)
else if (lo >= 0x9f && lo <= 0xfc)
glyph += lo - 0x9e + 96;
else
return nullptr;