ThorVG WebCanvas API - v1.1.4
    Preparing search index...

    Interface FontsourceOptions

    Options for loading a font from the fontsource CDN.

    interface FontsourceOptions {
        weight?: 800 | 600 | 100 | 400 | 200 | 500 | 300 | 700 | 900;
        style?: "italic" | "normal";
        subset?: string;
    }
    Index
    weight?: 800 | 600 | 100 | 400 | 200 | 500 | 300 | 700 | 900

    Font weight to load.

    400
    
    style?: "italic" | "normal"

    Font style to load.

    'normal'
    
    subset?: string

    Unicode subset to load.

    'latin'