Function compute_cjk_blues

Source
fn compute_cjk_blues(
    shaper: &Shaper<'_>,
    coords: &[F2Dot14],
    style: &StyleClass,
) -> [SmallVec<UnscaledBlue, MAX_BLUES>; 2]
Expand description

Compute unscaled blue values for the CJK script set.

Note: unlike the default code above, this produces two sets of blues, one for horizontal zones and one for vertical zones, respectively. The horizontal set is currently not generated because this has been disabled in FreeType but the code remains because we may want to revisit in the future.

See https://gitlab.freedesktop.org/freetype/freetype/-/blob/57617782464411201ce7bbc93b086c1b4d7d84a5/src/autofit/afcjk.c#L277