SFNT name

class freetype.SfntName(name)

SfntName wrapper

A structure used to model an SFNT ‘name’ table entry.

encoding_id

The encoding ID for ‘string’.

language_id

The language ID for ‘string’.

name_id

An identifier for ‘string’.

platform_id

The platform ID for ‘string’.

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.

string_len

The length of ‘string’ in bytes.