Expand description
CFF hinting.
Structsยง
- Blue
Zone ๐ - See https://gitlab.freedesktop.org/freetype/freetype/-/blob/80a507a6b8e3d2906ad2c8ba69329bd2fb2a85ef/src/psaux/psblues.h#L129
- Hint ๐
- https://gitlab.freedesktop.org/freetype/freetype/-/blob/80a507a6b8e3d2906ad2c8ba69329bd2fb2a85ef/src/psaux/psblues.h#L118
- HintMap ๐
- Collection of adjusted hint edges.
- Hint
Mask ๐ - Bitmask that specifies which hints are currently active.
- Hint
Params ๐ - Parameters used to generate the stem and counter zones for the hinting algorithm.
- Hint
State ๐ - Hinting state for a PostScript subfont.
- Hinting
Sink ๐ - Stem
Hint ๐ - https://gitlab.freedesktop.org/freetype/freetype/-/blob/80a507a6b8e3d2906ad2c8ba69329bd2fb2a85ef/src/psaux/pshints.h#L85
Constantsยง
- EPSILON ๐
- GHOST_
BOTTOM ๐ - GHOST_
TOP ๐ - HINT_
MASK_ ๐SIZE - ICF_
BOTTOM ๐ - ICF_TOP ๐
- LOCKED ๐
- MAX_
BLUES ๐ - MAX_
BLUE_ ๐ZONES - MAX_
HINTS ๐ - MAX_
OTHER_ ๐BLUES - MIN_
COUNTER ๐ - PAIR_
BOTTOM ๐ - PAIR_
TOP ๐ - SYNTHETIC ๐
Functionsยง
- half ๐
- midpoint ๐
- Computes midpoint between
a
andb
, avoiding overflow if the sum of the high 16 bits exceedsi16::MAX
. - msb_
mask ๐ - Returns a bit mask for the selected bit with the most significant bit at index 0.
- trunc ๐
- FreeType converts from 16.16 to 26.6 by truncation. We keep our values in 16.16 so simply zero the low 10 bits to match the precision when converting to f32.
- twice ๐