freetypy.CharMap.get_language_id¶
-
CharMap.
get_language_id
()¶ Return TrueType/sfnt specific cmap language ID.
It will be one of the constants in
TT_MAC_LANGID
orTT_MS_LANGID
.Returns: language_id : int
The language ID of the
CharMap
. If it doesn’t belong to a TrueType/sfnt face, raises aValueError
.For a format 14 cmap (to access Unicode IVS), the return value is 0xFFFFFFFF.