freetypy.TT_PLATFORM¶
-
class
freetypy.TT_PLATFORM¶ A set of platform identifier codes.
APPLE_UNICODE: Used by Apple to indicate a Unicode character map and/or name entry. SeeTT_APPLE_IDfor corresponding ‘encoding_id’ values. Note that name entries in this format are coded as big-endian UCS-2 character codes only.MACINTOSH: Used by Apple to indicate a MacOS-specific charmap and/or name entry. SeeTT_MAC_IDfor corresponding ‘encoding_id’ values. Note that most TrueType fonts contain an Apple roman charmap to be usable on MacOS systems (even if they contain a Microsoft charmap as well).ISO: This value was used to specify ISO/IEC 10646 charmaps. It is however now deprecated. SeeTT_ISO_IDfor a list of corresponding ‘encoding_id’ values.MICROSOFT: Used by Microsoft to indicate Windows-specific charmaps. SeeTT_MS_IDfor a list of corresponding ‘encoding_id’ values. Note that most fonts contain a Unicode charmap using (TT_PLATFORM.MICROSOFT,TT_MS_ID.UNICODE_CS).CUSTOM: Used to indicate application-specific charmaps.ADOBE: This value isn’t part of any font format specification, but is used by FreeType to report Adobe-specific charmaps in anCharMapobject. SeeTT_ADOBE_ID.
Attributes
ADOBEAPPLE_UNICODECUSTOMISOMACINTOSHMICROSOFT