SFNT name¶
- class freetype.SfntName(name)¶
SfntName wrapper
A structure used to model an SFNT ‘name’ table entry.
- property encoding_id¶
The encoding ID for ‘string’.
- property language_id¶
The language ID for ‘string’.
- property name_id¶
An identifier for ‘string’.
- property platform_id¶
The platform ID for ‘string’.
- property string¶
The ‘name’ string. Note that its format differs depending on the (platform,encoding) pair. It can be a Pascal String, a UTF-16 one, etc.
Generally speaking, the string is not zero-terminated. Please refer to the TrueType specification for details.
- property string_len¶
The length of ‘string’ in bytes.