https://bugs.kde.org/show_bug.cgi?id=472072
Bug ID: 472072
Summary: Assert crash on painting text at the edge of the
canvas
Classification: Applications
Product: krita
Version: git master (please specify the git hash!)
Platform: Microsoft Windows
OS: Microsoft Windows
Status: REPORTED
Severity: crash
Priority: NOR
Component: Tool/Text
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 160195
--> https://bugs.kde.org/attachment.cgi?id=160195&action=edit
Crash backtrace
SUMMARY
STEPS TO REPRODUCE
1. Create a 1280x1280 300ppi document
2. Zoom to 100%
3. Switch to the text tool
4. Place cursor exactly on the leftmost column of pixel of the canvas, then
draw a text object
5. Set SVG source to the following snippet:
```
<text style="font-size:9pt; font-family:'Noto Sans'; letter-spacing:0px;
word-spacing:0px; white-space:pre; line-height:1;"><tspan>This is text line 1.
</tspan><tspan>This is line 2.
</tspan><tspan style="line-height:2">This is line 3.
</tspan><tspan>This is line 4.
</tspan><tspan>This is line 5.
</tspan><tspan>
</tspan><tspan>On line 7 here are three spaces.</tspan></text>
```
6. Save text
OBSERVED RESULT
Crash with assert:
ASSERT (krita): "m_d->shapeImage.size() ==
m_d->alignedGlobalClipRect.size()" in file
D:/dev/krita/src-vanilla/libs/flake/KoClipMaskPainter.cpp, line 106
EXPECTED RESULT
No crash.
SOFTWARE/OS VERSIONS
Windows 10
Krita at d9959dfda2cd0b753a56570056789014d0820f02
--
You are receiving this mail because:
You are watching all bug changes.