Nutrient Web SDK
    Preparing search index...

    Interface FontMismatch

    A font referenced by the document for which no matching face was found in the available font list. Returned by getFontMismatches().

    interface FontMismatch {
        pageIndex: number;
        textBlockId: string;
        unavailableFaceName: string | null;
    }
    Index

    Properties

    pageIndex: number

    Page the text block lives on.

    textBlockId: string

    The text block where the mismatch was detected.

    unavailableFaceName: string | null

    Name of the unavailable face, when the document declares one. Some PDFs do not name the offending face — in that case this is null.