Scaling stroke width by percentage gives wrong stroke width
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If I select objects with different stroke widths the width is displayed as 100% in the "Fill and Stroke" window. If I now change the stroke width to 50%, I expect all stroke widths to be reduced to 50% of their respective original value.
For example, I have two tetragons with stroke widths of 0.5 mm and 0.25 mm. If I select both of them and apply 50% stroke width (expecting 0.25 mm and 0.125 mm), I get 0.22 and 0.11 mm, and after pressing Ctrl+Z once, I get 0.234 mm and 0.117 mm. Only after pressing Ctrl+Z a second time do I get back to the original value. The ratio of resulting value to desired value (0.22/0.25=0.88; 0.936 after pressing Ctrl+Z once) is consistent for this setup, regardless of the actual stroke width chosen (tested with 50%, 75%, 150%).
Bug #170219 https:/
Changed in inkscape: | |
status: | New → Confirmed |
Confirmed in Win 8.1 64 bit, Inkscape 0.92.2 (5c3e80d, 2017-08-06).
Likely related to https:/ /bugs.launchpad .net/inkscape/ +bug/1670913 "Default.svg using mm as units and scale of 1 causes problems"
The scale of the document has effect.
Changing the document to px and scale=1, behavior is as expected. (if document =mm, scale should be set to 3.77953 for proper behavior.) Example attached.
Please share an svg example, or confirm the document units and scale.
Best,
TD