FontMatch

Overview

FontMatch is a interface in Aspose.PDF FOSS for TypeScript.

What a name resolves to – reported without loading or embedding anything.

Properties: exact, faceIndex, family, italic, path, subfamily, and 1 more.

Properties

NameTypeAccessDescription
family: stringReadThe family as the FONT states it (ID 16 where present), not as asked for.
subfamily: stringReadThe subfamily as the font states it (ID 17 where present).
weight: numberReadDERIVED weight and slant, not the raw usWeightClass or macStyle bits.
italic: booleanReadGets the italic.
exact: booleanReadWhether weight AND slant both matched the request exactly.
path: stringReadGets the path.
faceIndex: numberReadGets the face index.