https://bugs.kde.org/show_bug.cgi?id=473873
Alvin Wong <al...@alvinhc.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |al...@alvinhc.com Status|REPORTED |CONFIRMED --- Comment #1 from Alvin Wong <al...@alvinhc.com> --- Yes, there are some confusing aspects of how vector layers are being handled in Krita. In particular, the current implementation of vector layers always use "pt" (1/72 inch) as the unit and that is why it is used in the exported SVG. It also takes into account the document resolution, and since your document is set to 300 ppi, 1 pt = 4.166... px (document) and therefore 128 px (document) = 30.72 pt. This makes sense to match the "print size" of the document. For web usage, since the CSS defines px to be exactly 1/96 inch, the document should be set to 96 ppi to match that. But also unintuitively, even if you resize the image changing only the resolution to 96 ppi, exporting the layer immediately still gives you the same dimensions. This is because at this point the scale is only applied to the layer and not the shapes inside (an oddity of the implementation of "scale image"). To fix that, you have to clone the layer and export the cloned layer, or save then reopen the file. Tl;dr: Don't use Krita as a general purpose vector editor; it's not. Use Inkscape for that. -- You are receiving this mail because: You are watching all bug changes.