Skip to content
Lamina PDF
0.9.0
GitHub
Open the web app

DocumentFont

type DocumentFont = FontJs;

Defined in: packages/sdk/src/types.ts:1898

One font the document uses (Document.fonts): its name without a subset tag, kind (Type0, Type1, TrueType…), whether the file embeds it (embedded) or only the glyphs used (subset), its encoding, its font dictionary’s object number, whether it has a ToUnicode CMap (toUnicode) and how many of its codes that maps (toUnicodeCoverage).

0.6.0