Skip to main content

prefer_interpreter

Function prefer_interpreter 

Source
pub(super) fn prefer_interpreter(tables: &Tables) -> bool
Expand description

Returns true if FreeType would run the interpreter for tables rather than the automatic hinter.

This is the case when the font has glyph instructions, or a font or control value program. https://gitlab.freedesktop.org/freetype/freetype/-/blob/57617782464411201ce7bbc93b086c1b4d7d84a5/src/base/ftobjs.c#L1001