THotPDF.InspectVariableFont

Leest gevalideerde fvar-assen en benoemde instanties zonder het lettertype te registreren

Declaratie

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

Retourneert False wanneer het bestand ontbreekt, misvormd is of geen variabel lettertype is

Elke THPDFVariableFontAxis-entry draagt de as-Tag, MinimumValue, DefaultValue, MaximumValue, as-Flags en NameID; elke THPDFVariableFontNamedInstance draagt diens SubfamilyNameID, instance-Flags, optionele PostScriptNameID en de instance-Coordinates als één waarde per as in de geretourneerde volgorde

Zie ook: Variabele en kleur OpenType-lettertypen