mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 13:55:42 +00:00
A TJ can draw the same glyph at the same place twice (its kerning goes back), so a stroke can't be matched to a filled glyph as it arrives: [(A) -3500 (B) 4834 (A)] TJ put the first A's stroke on the last A and left the earlier parts unstroked. Strokes over filled glyphs are now held until their stroke pass ends and then matched to the glyphs filled last, in the order they were filled, so each copy is stroked where it was filled, while a glyph filled and stroked where one filled before stands still strokes only the newest. At most 4096 strokes are held. Docs: ordinary text gives one filled and stroked object per part; in an ActualText span it stays one replacement object on the first glyph's line and style.