Skip to content

@pdfa-lab/core / FontInfo

Type Alias: FontInfo ​

FontInfo = object

Defined in: font/types.ts:19

Information about a font.

Properties ​

baseFont? ​

optional baseFont?: string

Defined in: font/types.ts:39

The BaseFont. This often contains subset identifiers or a numbered suffix.


embedded ​

embedded: boolean

Defined in: font/types.ts:28

The indicator for embedded fonts.


encodingMapper ​

encodingMapper: GlyphMapper

Defined in: font/types.ts:51

The encoding mapper. You can get the name of the encoding with the name property of the mapper.


fontName? ​

optional fontName?: string

Defined in: font/types.ts:45

The normalised font name without the subset identifier or numbered suffix.


ref ​

ref: PDFRef

Defined in: font/types.ts:23

The reference to the font dictionary.


subtype? ​

optional subtype?: FontSubtype

Defined in: font/types.ts:33

The font subtype. This can only be unset for Type0 fonts.


toUnicodeMapper? ​

optional toUnicodeMapper?: GlyphMapper

Defined in: font/types.ts:56

The optional ToUnicode mapper.