You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The encoding of entries in the naming table contradicts the specification. More specifically, for some entries, the platform is set to be Mac, that is, 1, but the language tags follow Windows, such as 0x409 for United States English.
It can be seen that the platform is Mac, but the language ID is 0x409, which is a value outside of the range of the languages on that platform. The last language on Mac has a code of 150. The 0x409 seems to come from the table for Windows where this value corresponds to United States English. Therefore, the language ID does not agree with the platform ID.
Expected behavior
The platforms and languages should agree.
The text was updated successfully, but these errors were encountered:
Describe the bug
The encoding of entries in the naming table contradicts the specification. More specifically, for some entries, the platform is set to be Mac, that is, 1, but the language tags follow Windows, such as 0x409 for United States English.
To Reproduce
For instance, using
fonttools
:It can be seen that the platform is Mac, but the language ID is 0x409, which is a value outside of the range of the languages on that platform. The last language on Mac has a code of 150. The 0x409 seems to come from the table for Windows where this value corresponds to United States English. Therefore, the language ID does not agree with the platform ID.
Expected behavior
The platforms and languages should agree.
The text was updated successfully, but these errors were encountered: