@twip/web
    Preparing search index...

    Interface FontRule

    A draw-time replacement: from (optionally one style of it) is drawn with to, even when from is in the library. The document keeps naming from. When to isn't in the library, from resolves as if there were no rule.

    interface FontRule {
        bold?: boolean;
        from: string;
        italic?: boolean;
        to: string;
    }
    Index
    bold?: boolean

    Only the bold faces (or only the regular ones).

    from: string

    The family the document asks for.

    italic?: boolean

    Only the italic faces (or only the upright ones).

    to: string

    The family to draw instead.