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

--- Comment #2 from George Hayes <hayes...@gmail.com> ---
I did some further testing. I imported the following svg.
<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg";>
        <path id="head" fill="#fedabb" fill-rule="evenodd" stroke="#000000"
stroke-width="0.5" stroke-linecap="square" stroke-linejoin="bevel"  d="M64.0
8.0 C48 8 32 24 32 40 C32 56 32 52 32 88 z"/>
</svg>
To get the correct scaling in the image it was done at 256 to get to the right
size with the default 300pixels per inch and 0.43 print under scale image. But
the positioning is off.
If I change it to 128resolution and 1in 128 with and 128 height. It scales
perfectly at and positions perfectly.
However, if I then export that very same layer. It changes it to what is below
which again is shrunk in size and transformed.
The new svg it creates can't even be properly imported back in sized and
positioned without work.
My suggest is drop the transformation let the people printing it worry about
that just focus on getting the point position and so on right.
Don't worry about the DPI that is an issue for the people print software.
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd";>
<!-- Created using Krita: https://krita.org -->
<svg xmlns="http://www.w3.org/2000/svg"; 
    xmlns:xlink="http://www.w3.org/1999/xlink";
    xmlns:krita="http://krita.org/namespaces/svg/krita";
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
    width="72pt"
    height="72pt"
    viewBox="0 0 72 72">
<defs/>
<path id="head" transform="matrix(0.5625 0 0 0.5625 18 4.5)" fill="#fedabb"
fill-rule="evenodd" stroke="#000000" stroke-width="0.5" stroke-linecap="square"
stroke-linejoin="bevel" d="M32 0C16 0 0 16 0 32C0 48 0 44 0 80Z"
sodipodi:nodetypes="cccc"/>
</svg>

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

Reply via email to