TomTom Maps for JavaScript
    Preparing search index...

    Type Alias CustomTypefaceFile

    One font file of a CustomTypeface and the characters it draws, for a face split into files by script, as font CDNs serve them.

    type CustomTypefaceFile = {
        unicodeRange: string[];
        url: string;
    }
    Index
    unicodeRange: string[]

    The characters the file draws, as CSS unicode-range values such as U+0100-02BA. List only the ones the file has. A character in the range that the file lacks is drawn in the browser's default sans-serif.

    url: string

    The file's URL, to a format the browser draws text with, such as WOFF2 or TTF.