Interface: FontFaceInfo
Identity of one font inside a font file, as read from its name table.
Properties
family?
readonlyoptionalfamily?:string
name ID 1, e.g. 'MS PGothic'. Absent when the table has no readable record.
fullName?
readonlyoptionalfullName?:string
name ID 4, e.g. 'MS PGothic'.
index
readonlyindex:number
Position in the file: 0 for a plain TTF/OTF, 0..n-1 inside a collection.
postScriptName?
readonlyoptionalpostScriptName?:string
name ID 6, e.g. 'MS-PGothic'.
subfamily?
readonlyoptionalsubfamily?:string
name ID 2, e.g. 'Regular'.