Field Notes
    Preparing search index...

    Interface ExportFontOptions

    Font embedding options for SVG export.

    interface ExportFontOptions {
        fonts?: readonly ExportFontFace[];
        onFontError?: (error: ExportFontError) => void;
    }

    Hierarchy (View Summary)

    Index
    fonts?: readonly ExportFontFace[]

    Faces to embed as @font-face; only faces the export uses are loaded.

    onFontError?: (error: ExportFontError) => void

    Called when a face cannot be embedded; without it the failure is logged with console.warn. The export continues with the family name only.