THotPDF.InspectVariableFont

Reads validated fvar axes and named instances without registering the font

Declaration

function InspectVariableFont(const FontPath: string; out Axes: THPDFVariableFontAxisArray; out Instances: THPDFVariableFontNamedInstanceArray): Boolean;

Returns False when the file is missing, malformed, or not a variable font

Each THPDFVariableFontAxis entry carries the axis Tag, MinimumValue, DefaultValue, MaximumValue, axis Flags, and NameID; each THPDFVariableFontNamedInstance carries its SubfamilyNameID, instance Flags, optional PostScriptNameID, and the instance Coordinates as one value per axis in the returned order

See also: Variable and Colour OpenType Fonts