- fixed handling for Turkish i's.
* islowermap and isuppermap were not set for the new characters. * special handling for the lowercase dotted i in allcaps fonts returned the wrong character.
This commit is contained in:
parent
176e98980f
commit
16eceadc7e
2 changed files with 3 additions and 1 deletions
|
|
@ -763,7 +763,7 @@ int FFont::GetCharCode(int code, bool needpic) const
|
|||
// a similar check is needed for the small i in allcaps fonts. Here we cannot simply remap to an existing character, so the small dotted i must be placed at code point 0080.
|
||||
if (code == 'i' && LastChar >= 0x80 && Chars[0x80 - FirstChar].OriginalPic != nullptr)
|
||||
{
|
||||
return 0x131;
|
||||
return 0x80;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue