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

            Bug ID: 391160
           Summary: Handmade SVG file using list values for the x, y, dx,
                    and dy values won't load right.
           Product: krita
           Version: git master
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Tool/Text
          Assignee: krita-bugs-n...@kde.org
          Reporter: griffinval...@gmail.com
  Target Milestone: ---

(From phabricator)
There's a weird thing going on with the character offsets, the following SVG
loads properly in Firefox and Inkscape, but not in Krita:

------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<svg viewbox="0 0 1800 1200" xmlns="http://www.w3.org/2000/svg";>

    <text x="200" y="50" style="font-family:Noto mono; font-size:12pt;
text-anchor:start">
    <tspan dy="0 -3 -3 -3 -3 3 3 3 3 0 -3 -3 -3 -3 3 3 3 3 0 -3 -3 -3 -3 3 3 3
3 0 -3 -3 -3 -3 3 3 3 3 0">Lorem ipsum dolor sit amet</tspan>
    </text>

    <text x="200" y="100" style="font-family:Noto mono; font-size:12pt;
text-anchor:start">
    <tspan dx="0 -3 -3 -3 -3 3 3 3 3 0 -3 -3 -3 -3 3 3 3 3 0 -3 -3 -3 -3 3 3 3
3 0 -3 -3 -3 -3 3 3 3 3 0">consectetur adipiscing elit.</tspan>
    </text>

    <text x="200" y="150" style="font-family:Noto mono; font-size:12pt;
text-anchor:start">
    <tspan y="150 155 160 155 150 155 160 155 150 155 160 155 150 155 160 155
150 155 160 155 150 155 160 155 150 155 160 155">Lorem ipsum dolor sit
amet</tspan>
    </text>
    <text x="150" y="200" style="font-family:Noto mono; font-size:12pt;
text-anchor:start">
    <tspan x="150 170 190 210 230 250 270 290 310 330 350 370 390 410 430 450
470 490 510 530 550 570 590 610 630 650 670 690">Lorem ipsum dolor sit
amet</tspan>
    </text>
</svg>
-----------------------------------------------------------------------------
And the code for handling the offsets like this is there, it's just not
interpreted properly.

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

Reply via email to