tspan dx makes incorrect offset #269
Labels
bug
difficulty:beginner
help wanted
Help with creating a proper test-case, looking up the spec, or creating a pull request.
Describe the bug
<tspan dx="...">
seems to offset by an incorrect amount.[email protected] [email protected]
To Reproduce
Playground
SVG for reference:
Expected behavior
SVG displays with correct offset:
Screenshots
PDF displays a smaller offset for the "is" text:
If I chain more such
tspan
s, the reduced horizontal offset accumulates, and the SVG glyphs start overlapping with the text.Desktop
Additional context
This arises in SVG generated by my Cocreate software, which renders regular text along with LaTeX rendered by MathJax.
The text was updated successfully, but these errors were encountered: