GRAPHICS: Fix glyph offsets for PC98 glyphs *9e
This commit is contained in:
parent
455e6d1779
commit
2366bff928
1 changed files with 2 additions and 2 deletions
|
@ -554,9 +554,9 @@ const uint8 *FontPC98::getCharData(uint16 ch) const {
|
||||||
|
|
||||||
if (lo >= 0x3f && lo <= 0x7e)
|
if (lo >= 0x3f && lo <= 0x7e)
|
||||||
glyph += lo - 0x3f;
|
glyph += lo - 0x3f;
|
||||||
else if (lo >= 0x80 && lo <= 0x9d)
|
else if (lo >= 0x80 && lo <= 0x9e)
|
||||||
glyph += lo - 0x80 + 64;
|
glyph += lo - 0x80 + 64;
|
||||||
else if (lo >= 0x9e && lo <= 0xfc)
|
else if (lo >= 0x9f && lo <= 0xfc)
|
||||||
glyph += lo - 0x9e + 96;
|
glyph += lo - 0x9e + 96;
|
||||||
else
|
else
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue