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.
| Property | Description |
|---|---|
| demangledName | Extracted base font name without prefix (e.g., "Helvetica") |
| originalName | Full font name with subset prefix (e.g., "ABCDEF+Helvetica") |
Font information extracted from PDF during content editing.