width and heigt in pt, but without measurement unit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dvisvgm |
Fix Released
|
Medium
|
Martin Gieseking |
Bug Description
If dvisvgm creates a svg from a dvi doc, then dvisvgm (a. e.) sets the width to ... and the height to 12
I think with 12 are 12 pt well-meant.
Output: page size: 15.875pt x 12pt (5.57941mm x 4.21752mm)
But if I open the svg file with an text editor there you can see:
<svg height='12' version='1.1' viewBox='77 53.48 15.875 12' width='15.875' ...
but it should be:
<svg height='12pt' version='1.1' viewBox='77 53.48 15.875 12' width='15.875pt' ...
If you open both files with gimp, gimp asks you with how many pixels it should open the svg, and you can choose between pix, mm, pt, ...
Now if you choose pt the first file will show wrong values (width and height) the second show right values.
Gimp chooses at the first file without the measurement unit "pt" pix for calculation, that means for heigt 12 pix and not 12 pt -> thats the Bug
Changed in dvisvgm: | |
importance: | Undecided → Medium |
assignee: | nobody → Martin Gieseking (martin-gieseking) |
The file tex1.svg was added: first file