Expand description
PostScript hinting for a ScalerFont.
read-fonts runs the charstrings, and this crate’s PostScript hinter hints them before the font matrix is applied.
Structs§
- Hinted
Subfont 🔒 - A subfont and its hinting state at the size.
- Post
Script 🔒Hinter - The PostScript hinter, configured for one font at one size.
Constants§
- CACHED_
SUBFONTS 🔒 - The number of subfonts whose hinting state is kept for a size. A subfont past them is read again for each glyph that needs it, so a font with thousands of subfonts costs no more to configure than one with eight.
Functions§
- hint_
params 🔒 - Converts the parameters read by read-fonts into the hinter’s parameters.