[]
        
(Showing Draft Content)

Core.FontDescriptor

Interface: FontDescriptor

Core.FontDescriptor

Font file descriptor

Table of contents

Properties

Properties

locals

Optional locals: string[]

Fallback fonts that will be searched on the local machine


name

name: string

Font family name, e.g. "Segoe UI"


postscriptName

Optional postscriptName: string

The font postscript name.


source

source: string | string[]

Font file URI, supported file formats are *.ttf, *.otf and *.woff


style

Optional style: string

Font style, e.g. "italic"


useAsDefault

Optional useAsDefault: boolean

True - to use the font as default font in PDF export.


weight

Optional weight: string

Font weight, e.g. "bold"