about unit is wrong at save to SVG format

Bug #1967605 reported by du yongfeng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

When saved as a pure SVG,see the file format notes below:
“<svg
   width="33" ***** here is "px"
   height="447"
....
<g
     inkscape:label="layer 1"
     inkscape:groupmode="layer"
     id="layer1">
    <rect
    ...
       id="rect846"
       width="8.4881392" ***** wrong unit,shoud be "8.4881392mm" or 33
       height="118.02563" ***** wrong unit,shoud be "118.02563mm" or 447
       x="0.13478452" wrong unit,shoud by "mm"
       y="0.13478452" wrong unit,shoud by "mm"
/>
  </g>

Inkscape 1.1.2 (0a00cf5339, 2022-02-04, custom)

    GLib version: 2.70.3
    GTK version: 3.24.31
    glibmm version: 2.66.2
    gtkmm version: 3.24.5
    libxml2 version: 2.9.12
    libxslt version: 1.1.34
    Cairo version: 1.17.4
    Pango version: 1.50.3
    HarfBuzz version: 3.2.0
    Poppler version: 22.01.0

    OS version: Windows 11 21H2

du yongfeng (supergbdyf)
description: updated
du yongfeng (supergbdyf)
description: updated
Revision history for this message
Max Gaukler (mgmax) wrote :

This bug tracker is no longer used. You should have seen lots of warning messages when submitting the report that tell you that this page is no longer used.

Please see https://inkscape.org/report .

Please also consider the viewBox attribute, which may explain what you are seeing.

Changed in inkscape:
status: New → Invalid
du yongfeng (supergbdyf)
Changed in inkscape:
status: Invalid → Confirmed
status: Confirmed → New
Revision history for this message
Max Gaukler (mgmax) wrote :

Changing status back to "Invalid". We use status "Invalid" to mark that this bug tracker system is no longer used.

Changed in inkscape:
status: New → Invalid
lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.