mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-21 18:04:03 +01:00
Near matching ranked every glyph of the shape's contour count and proportion before comparing the 256 closest, and that ranking was not counted against the point comparisons each shape and command may make, so a large selection over many fonts could spend unbounded time there. Each glyph ranked now takes one comparison per contour and one more from the same budget, the ranking keeps the closest glyphs without sorting the rest, and the shares of contour length are read without allocating per glyph.