Nutrient Web SDK
    Preparing search index...

    Interface FontInfo

    Font information extracted from PDF during content editing.

    interface FontInfo {
        fontSize: null | number;
        name: null | string;
        subsetInfo?: { demangledName: string; originalName: string };
    }
    Index

    Properties

    fontSize: null | number

    The current font size being used. If matching is called during text selection, this may be null.

    name: null | string

    The font name as declared in the PDF (e.g., "Helvetica-BoldOblique"). Rarely we can't find any name information.

    subsetInfo?: { demangledName: string; originalName: string }

    Information about subset fonts detected in the PDF.

    Type Declaration

    • demangledName: string

      Extracted base font name without prefix (e.g., "Helvetica")

    • originalName: string

      Full font name with subset prefix (e.g., "ABCDEF+Helvetica")