Name Description Size Coverage
edges.rs Edge hinting. Let's actually do some grid fitting. Here we align edges to the pixel grid. This is the final step before applying the edge adjustments to the original outline points. 44143 -
mod.rs Entry point to hinting algorithm. 5478 -
outline.rs Apply edge hints to an outline. This happens in three passes: 1. Align points that are directly attached to edges. These are the points which originally generated the edge and are coincident with the edge coordinate (within a threshold) for a given axis. This may include points that were originally classified as weak. 2. Interpolate non-weak points that were not touched by the previous pass. This searches for the edges that enclose the point and interpolates the coordinate based on the adjustment applied to those edges. 3. Interpolate remaining untouched points. These are generally the weak points: those that are very near other points or lacking a dominant inward or outward direction. The final result is a fully hinted outline. 24077 -