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

            Bug ID: 471374
           Summary: Line breaks not working when font has ligatures
    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
  Target Milestone: ---

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

SUMMARY
Line breaks in between characters with ligatures does not work correctly.

STEPS TO REPRODUCE
1. Create a text object with:
This text
is 9pt
in size
2. Set font to "Calibri"
3. Save the text object

Or alternatively, use the following SVG source:

<text style="fill:#000000; letter-spacing:0; word-spacing:0; kerning:auto;
font-family:Calibri; font-size:9; font-size-adjust:0.464355; font-weight:400;
font-style:normal; stroke-width:0; font-stretch:100"><tspan x="0">This
text</tspan><tspan x="0" dy="10.5pt">is 9pt</tspan><tspan x="0"
dy="10.5pt">in</tspan><tspan x="0" dy="10.5pt">size</tspan></text>

OBSERVED RESULT
The text doesn't break in the expected places.

EXPECTED RESULT
The text should break in the expected places.

SOFTWARE/OS VERSIONS
Windows: 10
Krita: commit 821fedf45

ADDITIONAL INFORMATION
Wolthera: "apparantly callibri has ligatures for t and i, and thus the
adjustments on those codepoints isn't calculated correctly. if you add
font-variant-ligatures:none; to the style list it shows properly."

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

Reply via email to