Nutrient Web SDK

v0.0.0-dev

Interface FontInfo

Font information extracted from PDF during content editing.

Interface

Properties

number | null

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

string | null

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

subsetInfo

Optional
{ demangledName: string; originalName: string }

Information about subset fonts detected in the PDF.

PropertyDescription
demangledName

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

originalName

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