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

            Bug ID: 473873
           Summary: SVG scaling issue, transforming when it shouldn't and
                    The grid snapping doesn't work
    Classification: Applications
           Product: krita
           Version: 5.1.5
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Layers/Vector
          Assignee: krita-bugs-n...@kde.org
          Reporter: hayes...@gmail.com
  Target Milestone: ---

Created attachment 161250
  --> https://bugs.kde.org/attachment.cgi?id=161250&action=edit
That's the file I used to create it.

It is scaling SVGs when it should not be doing so. Your grid snapping isn't
snapping to the grid for it but to pixels.

STEPS TO REPRODUCE
1. I created a 128 by 128 image and then created an SVG layer on it.
2. I then created the SVG vector.

OBSERVED RESULT
After exporting it I noticed when opening it in a browser it was about 1/4 the
size it should be.
So I looked at the text in the SVG and noticed it reduced it to 30.72 for both
axis rather than 128.
Scaling the graphic up is entirely worthless in that the proportions of line
thickness and so on then are off.

I've searched the internet and forums to see how I can tell it to not change
the scale no answers any place.

SVG primary use is internet and graphics like PDF. It doesn't help to have
something change what you are making into something else and you can't rely on
the software to produce what it should make.

EXPECTED RESULT
I think most people would expect the size they set something to be will be the
size and scale it is produced at not 1/4.1666 the size.

I'm also not a fan of the transformation being done as well. Unless I tell it
to transform I don't want it doing so.
The entire reason I am building this object in SVG is so I can create
characters and attach a skeleton system to them and then animate them and make
it so I can automatically fit clothing from one character to another. All the
transformation does is force me to recalculate everything by hand. At most I
would want is transformation from  the center of the 128 by 128 area in this
case. But that isn't what is being done.

So in effect the SVG produced is entirely worthless and I am hand coding the
SVGs or going to use software that doesn't scale or translate unless I tell it
or maybe allows me to select the translation point.

SOFTWARE/OS VERSIONS
Windows: Windows 10

ADDITIONAL INFORMATION
To be clear this is a fresh install of the software on a freshly installed
Windows 10.
No changes made to it. So I haven't changed any settings this is the default
behavior of the software.

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

Reply via email to