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
_MAC_LANGUAGES has multiple language IDs with the same IETF BCP 47 string: es (6 and 27) and ga (35 and 146).
_WINDOWS_LANGUAGES also: es (0x0C0A and 0x040A) and sms (0x203B and 0x1C3B).
These dicts are reversed into _MAC_LANGUAGE_CODES and _WINDOWS_LANGUAGE_CODES, so the string only refers to one of the two language IDs in each case, when used in findMultilingualName or addMultilingualName.
_MAC_LANGUAGES
has multiple language IDs with the same IETF BCP 47 string:es
(6 and 27) andga
(35 and 146)._WINDOWS_LANGUAGES
also:es
(0x0C0A and 0x040A) andsms
(0x203B and 0x1C3B).These dicts are reversed into
_MAC_LANGUAGE_CODES
and_WINDOWS_LANGUAGE_CODES
, so the string only refers to one of the two language IDs in each case, when used infindMultilingualName
oraddMultilingualName
.fonttools/Lib/fontTools/ttLib/tables/_n_a_m_e.py
Line 473 in 7e374c5
Perhaps give a warning in these special cases?
The text was updated successfully, but these errors were encountered: