Expand description
Detection of fonts that need their TrueType instructions to draw correct contours.
These are often called βtrickyβ fonts. They are recognized by family
name or by the checksums of the cvt, fpgm and prep tables. The
lists of names and checksums come from FreeType.
StructsΒ§
ConstantsΒ§
- HINT_
RELIANT_ πIDS - https://gitlab.freedesktop.org/freetype/freetype/-/blob/80a507a6b8e3d2906ad2c8ba69329bd2fb2a85ef/src/truetype/ttobjs.c#L314
- HINT_
RELIANT_ πNAMES - https://gitlab.freedesktop.org/freetype/freetype/-/blob/80a507a6b8e3d2906ad2c8ba69329bd2fb2a85ef/src/truetype/ttobjs.c#L180
- MAX_
HINT_ πRELIANT_ NAME_ LEN
FunctionsΒ§
- is_
hint_ reliant - Returns
trueif the font needs its instructions to draw correct contours. - is_
hint_ πreliant_ name - Returns
trueif the family name that FreeType reports for the font is on the list. - matches_
hint_ πreliant_ id_ list - Checks for fonts that require hinting based on the length and checksum of the cvt, fpgm and prep tables.
- matches_
hint_ πreliant_ name_ list - Returns
trueifnamecontains a family name that FreeType knows to rely on hinting.