https://bugs.kde.org/show_bug.cgi?id=395074

            Bug ID: 395074
           Summary: Incorrect image size when exporting a vector layer as
                    SVG at 72 DPI
           Product: krita
           Version: 4.0.3
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Layers/Vector
          Assignee: krita-bugs-n...@kde.org
          Reporter: anna.medonos...@gmail.com
  Target Milestone: ---

When I create a new image with 72DPI, create a vector layer and then export it,
the resulting SVG has the original width and height in pixels, but uses the
unit of pt. When I reopen the SVG file, the pts are converted to pixels, making
the image larger than the one I started with.

With DPI of 300, the sizes are exported correctly.

It works the same on stable and on the latest nightly build
(krita-4.1.0-pre-alpha-8a777b5-x86_64.appimage).


Steps to reproduce:
  1, Create a new image, 200x200px, at 72dpi
  2, Create a vector layer, draw something
  3, Export layer as SVG. The SVG file has width and height set to 200pt.
  4, Open it again in krita. The status bar now says 278*278. When you export
the layer again, the SVG file has width and height of 200pt.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to