mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 06:38:44 +00:00
Contours are read from a starting corner that does not depend on where the path starts (every tied corner tried), with straight edges split in two, degenerate curves and empty segments read as one line. A sampled fit only shortlists a glyph: its whole outline, turned onto the shape, must lie on it. Face keys are compact hashes, kept per process within a budget; kept keys stay when new ones do not fit, and go when fonts are added or rescanned. A compound path with a locked or hidden part stays whole. A group with an Attributes note, or any other extra, keeps its type inside. Faces are counted once against the cap, and no font is read when every shape stays an outline.