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

            Bug ID: 472566
           Summary: Wrong bounding box for vertical text with PMingLiU
    Classification: Applications
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tool/Text
          Assignee: krita-bugs-n...@kde.org
          Reporter: al...@alvinhc.com
                CC: griffinval...@gmail.com
  Target Milestone: ---

Created attachment 160492
  --> https://bugs.kde.org/attachment.cgi?id=160492&action=edit
Screenshot 1

PMingLiU (Windows 10) wrapped with inline-size:

```svg
<text text-rendering="auto" fill="#000000" stroke-opacity="0" stroke="#000000" 
stroke-width="0" stroke-linecap="square" stroke-linejoin="bevel"
letter-spacing="0" 
word-spacing="0" writing-mode="vertical-rl" style="inline-size: 64.67;
text-align: start;text-align-last: auto;font-family: PMingLiU;font-size: 16;
font-size-adjust: 0.429688;white-space: pre-wrap;"
><tspan>佔位文字 Testing
</tspan><tspan>佔位文字 Testing</tspan></text>
```

The rightmost line sticks outside of the bounding box, and the bounding boxes
of each hard-broken lines extend beyond the left side of the actual glyphs.

If you change the font size to 16.5, the bottom of the "g" also extends
downwards beyond the bounding box.

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

Reply via email to