docx
    Preparing search index...

    Type Alias PretextOptions

    type PretextOptions = {
        fontFamilies?: Readonly<Record<string, string>>;
    }
    Index
    fontFamilies?: Readonly<Record<string, string>>

    The CSS font families to measure each of the document's fonts with, by the name the document gives the font, such as { Calibri: "Carlito, sans-serif" } for a page that has Carlito, which is as wide as Calibri, but not Calibri. A font not in it is measured with the font of its own name, or the browser's default font if the page doesn't have it.