Skip to content

Interface: FontFaceInfo ​

Identity of one font inside a font file, as read from its name table.

Properties ​

family? ​

readonly optional family?: string

name ID 1, e.g. 'MS PGothic'. Absent when the table has no readable record.


fullName? ​

readonly optional fullName?: string

name ID 4, e.g. 'MS PGothic'.


index ​

readonly index: number

Position in the file: 0 for a plain TTF/OTF, 0..n-1 inside a collection.


postScriptName? ​

readonly optional postScriptName?: string

name ID 6, e.g. 'MS-PGothic'.


subfamily? ​

readonly optional subfamily?: string

name ID 2, e.g. 'Regular'.