https://bugs.kde.org/show_bug.cgi?id=520436
Bug ID: 520436
Summary: Editing first character of <tspan> Elements corrupts
its position
Classification: Applications
Product: krita
Version First 5.3.1
Reported In:
Platform: macOS (DMG)
OS: macOS
Status: REPORTED
Severity: normal
Priority: NOR
Component: Tool/Text
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 192482
--> https://bugs.kde.org/attachment.cgi?id=192482&action=edit
It contains that the sample files(SVG) and Screen cast files.
DESCRIPTION
>From an internal data perspective...
In a <text> element containing multiple <tspan> elements, attempting to edit
the first character of a tspan element will corrupt the positional information
of the tspan element.
The<tspan>element,these are used for positional layout. Editing the first
character of a tspan element breaks the positional information of the tspan
element.
Specifically, the tspan element is forced to move to the top-left corner, or
the spacing becomes compressed.
It occuerd in Krita v5.4.0 (likely also occurs in v6.0 series)
(This problem occurs with any character set (even ASCII alphabets and Asian
2-byte characters).)
How to reproduce the issue(see the screen casts)
1. Import the SVG data into Krita as a vector layer (300dpi).
2. Select the text with the text tool.
3. Highlight the first character belonging to the tspan element.
4. Replace the highlighted part with another character.
OBSERVED RESULT
The display position is disrupted. (Text is rewritten.)
EXPECTED RESULT
The display position is maintained. (Text is rewritten.)
SOFTWARE/OS VERSIONS
Krita 5.4.0,5.3.1
ADDITIONAL INFORMATION
I attached sample files(SVG)and Screen cast files
--
You are receiving this mail because:
You are watching all bug changes.