Expand description
TrueType hinting for a ScalerFont.
read-fonts loads the outline, and this crate’s interpreter hints it
through the loader’s Hinter hook.
Structs§
- Font
Hinter 🔒 - The interpreter attached to the loader’s hook for one draw.
- Hint
Scratch 🔒 - The working memory for a glyph program, carved from the caller’s block.
- Scratch
Lengths 🔒 - The working memory a glyph program needs beyond the outline.
- True
Type 🔒Hinter - The interpreter, configured for one font at one size.
Functions§
- hdmx_
widths 🔒 - Returns the byte range of the widths in the
hdmxrecord forppem, if any. - hint_
tables 🔒 - Returns the tables the interpreter reads from
tables. - prefer_
interpreter 🔒 - Returns true if FreeType would run the interpreter for
tablesrather than the automatic hinter.