Function link_segments_default

Source
fn link_segments_default(
    outline: &Outline,
    axis: &mut Axis,
    max_width: Option<i32>,
)
Expand description

Link segments to form stems and serifs.

If max_width is provided, use it to refine the scoring function.

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