mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-17 22:33:08 +00:00
PDF import: a glyph filled only after one filled and stroked stays unstroked (#8300)
Look::takes let a glyph filled only join a run whose glyphs were also stroked, so after mode 2 text a mode 0 glyph took the run's stroke: `2 Tr (B) Tj 0 Tr (C) Tj` came in as "BC" stroked throughout. A glyph now joins only a run drawn alike (fill, stroke, overprints), so a glyph filled only starts a run of its own and takes a stroke only when the matched-stroke path (#8039) strokes it. flush_stroke no longer strokes a whole run in place: a whole run goes through the split and join code, so fill and stroke rendering glyph by glyph still builds one stroked run.
This commit is contained in:
File diff suppressed because one or more lines are too long
+3
-2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user