Work around decoding strings in Macintosh encoding for the name table.

This commit is contained in:
Akira TAGOH 2023-08-14 19:16:04 +09:00
parent 34883cb414
commit a264a2c0ca
1 changed files with 4 additions and 0 deletions

View File

@ -722,6 +722,10 @@ retry:
{ {
fromcode = "SJIS"; fromcode = "SJIS";
} }
else if (sname->language_id == TT_MAC_LANGID_JAPANESE)
{
fromcode = "SJIS";
}
else if (sname->language_id >= 0x100) else if (sname->language_id >= 0x100)
{ {
/* /*