Interface FontNode

A font in the book.

interface FontNode {
    content?: ArrayBuffer;
    format: string;
    id: string;
    name: string;
    src?: PathLike;
    type: Font;
}

Hierarchy (view full)

Properties

content?: ArrayBuffer

The content of the source. If provided, the src property is ignored.

format: string

The format of the font.

id: string

The unique identifier of the node.

name: string

The name of the font.

src?: PathLike

The file path or URL of the source. If content is provided, this property is ignored.

type: Font

The type of the node.