Skip to content

@pdfa-lab/core / FontData

Type Alias: FontData ​

FontData = object

Defined in: font/types.ts:62

The type for font data reference.

Properties ​

postScriptName? ​

optional postScriptName?: string

Defined in: font/types.ts:73

The optional PostScript name. This is only relevant, if the font is a font collection (.ttc or .dfont) file.


source ​

source: string | ArrayBuffer | Uint8Array<ArrayBufferLike>

Defined in: font/types.ts:67

The source of the font data. This can either be a file system path from where the font data gets loaded or the raw data bytes.