Field Notes
    Preparing search index...

    Interface ExportFontFace

    One font file to embed in an SVG export.

    interface ExportFontFace {
        family: string;
        src: string | Blob;
        style?: "italic" | "normal";
        weight?: "bold" | "normal";
    }
    Index
    family: string
    src: string | Blob

    A URL to fetch with CORS, or the font bytes.

    style?: "italic" | "normal"

    Default 'normal'.

    weight?: "bold" | "normal"

    Default 'normal'.