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
| Name | Type | Access | Description |
|---|---|---|---|
family | : string | Read | The family as the FONT states it (ID 16 where present), not as asked for. |
subfamily | : string | Read | The subfamily as the font states it (ID 17 where present). |
weight | : number | Read | DERIVED weight and slant, not the raw usWeightClass or macStyle bits. |
italic | : boolean | Read | Gets the italic. |
exact | : boolean | Read | Whether weight AND slant both matched the request exactly. |
path | : string | Read | Gets the path. |
faceIndex | : number | Read | Gets the face index. |