NameTable
public struct NameTable
Represents an OpenType name table.
-
Creates a
nametable representation from the specified typeface.Declaration
Swift
public init?(typeface: Typeface)Parameters
typefaceThe typeface for accessing the data of the table.
-
The number of name records in this table.
Declaration
Swift
public var recordCount: Int { get } -
Retrieves a name record at a specified index.
Declaration
Swift
public func record(at index: Int) -> RecordParameters
indexThe index of the name record.
Return Value
A record of OpenType
nametable at a specified index. -
Represents a single record of OpenType
See morenametable.Declaration
Swift
public struct Record
View on GitHub
Install in Dash
NameTable Structure Reference