module

Pomtex::Seed::FontInfo

Reads family names from OpenType/TrueType fonts (the name table), so pomtex can tell users the name fontspec actually expects.

Constants

FAMILY = 1_u16
TYPOGRAPHIC_FAMILY = 16_u16

Instance methods

family(path : Path | String) : String | Nil

The family name of the first font in path (.otf, .ttf or .ttc), if readable.

Source