Skip to main content

matches_hint_reliant_name_list

Function matches_hint_reliant_name_list 

Source
fn matches_hint_reliant_name_list(name: impl Iterator<Item = u8>) -> bool
Expand description

Returns true if name contains a family name that FreeType knows to rely on hinting.

The random tag of a font embedded in a PDF is skipped. Matching follows FreeType’s strstr search.

https://gitlab.freedesktop.org/freetype/freetype/-/blob/80a507a6b8e3d2906ad2c8ba69329bd2fb2a85ef/src/truetype/ttobjs.c#L153