Expand description
Segment computation and linking.
A segment is a series of at least two consecutive points that are appropriately aligned along a coordinate axis.
The linking stage associates pairs of segments to form stems and identifies serifs with a post-process pass.
Structsยง
- State ๐
- Capture current and previous state while computing segments.
Constantsยง
Functionsยง
- _detect_
round_ ๐segments_ cjk - Performs the additional step of detecting round segments for the CJK script group.
- adjust_
segment_ ๐heights - Slightly increase the height of segments when it makes sense to better detect and ignore serifs.
- assign_
point_ ๐uvs - Set the (u, v) values to font unit coords for each point depending on the axis dimension.
- build_
segments ๐ - Build the set of segments for each contour.
- compute_
segments ๐ - Computes segments for the Latin writing system.
- link_
segments ๐ - Link segments to form stems and serifs.
- link_
segments_ ๐cjk - Link segments to form stems and serifs for the CJK script group.
- link_
segments_ ๐default - Link segments to form stems and serifs.