Units in dash exported to PDF incorrectly
Summary:
I wrote an SVG by hand to create a sheet of dotted graph paper, using stroke-dasharray
and a bunch of lines. Inkscape renders it correctly, but exports it to PDF incorrectly.
Steps to reproduce:
Start with this SVG; this is reduced to a single line instead of the full page:
This has the following:
- A single horizontal line with
stroke-dasharray="0.4mm 4.6mm" stroke-dashoffset="0.2mm"
. - Four
rect
in the next line that would be the equivalent to the dots in the first line, to check spacing.
Inkscape renders it as follows, correctly (cropped screenshot, with grid lines every 10mm):
What happened?
However, when exporting to PDF, this results (screenshot from Evince):
#### Version Info:
$ inkscape -V
Inkscape 1.0 (4035a4fb49, 2020-05-01)
Pango version: 1.44.7
- Operating System: openSUSE Tumbleweed
- Operating System version: 20200528
Edited by Nathan Lee