class FontInfo
Reference:
- Corresponding C source code: luafflib.c#L2256-2283
😱 Types incomplete or incorrect? 🙏 Please contribute!
fields
FontInfo.fontname
The PostScript name of the font, for example NimbusRoman-Regular
.
FontInfo.fullname
The formal name of the font, for example NimbusRoman-Regular
.
FontInfo.familyname
The family name this font belongs to, for example Nimbus Roman
.
FontInfo.weight
A string indicating the color value of the font, for example Book
.
FontInfo.version
The internal font version, for example 1.00
,
FontInfo.italicangle
The slant angle, for example 0.0
, -12.0
, -9.4626
, -10.5
, -15.5
or 11.0
.
FontInfo.units_per_em
1000
for PostScript-based fonts, usually 2048
for TrueType, for example 1000
.
FontInfo.pfminfo
FontInfo.pfminfo : FontloaderPfminfo {
pfmset: integer,
winascent_add: integer,
windescent_add: integer,
hheadascent_add: integer,
hheaddescent_add: integer,
typoascent_add: integer,
typodescent_add: integer,
subsuper_set: integer,
panose_set: integer,
hheadset: integer,
vheadset: integer,
pfmfamily: integer,
...(+34)
}
FontInfo.names
https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/blob/a4b8e13d3879e95c21e1719af0c3e31722bedd4f/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c#L2278-2282