Skip to content
Document Authoring DA  API Docs v1.9.1
npmGitHub

FontFile>= v1.0.26

FontFile:

{
type: "file";
}

FontFile provides a quick way to add a single additional font to the system. The system will load and scan all provided FontFiles to extract all the required metadata during initialization.

For a production system we recommend building a FontIndex of all available fonts, which enables the system to load only fonts that are actually needed.

{ type:'file', blob: fetch('/fonts/awesome.ttf') }

FontConfig for configuring fonts, including using FontFile.

type: "file"


blob: BlobInput