Bug 447533

Summary: Arabic and other right-to-left languages not displaying properly
Product: [Applications] krita Reporter: Olver Mendes <bythesideofwriting>
Component: Tool/TextAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: griffinvalley, halla
Priority: NOR    
Version First Reported In: 5.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A download of the KRA as well as what it looks like exported and a screencap of the issue

Description Olver Mendes 2021-12-26 11:22:46 UTC
Created attachment 144875 [details]
A download of the KRA as well as what it looks like exported and a screencap of the issue

SUMMARY
Arabic and other right-to-left languages not displaying properly

STEPS TO REPRODUCE
1. Us text tool and type or paste arabic text
2. Save text

OBSERVED RESULT
Text doesn't appear in text box and moving the text box creates visual glitches

EXPECTED RESULT
Should display in text box right-to-left as normal

SOFTWARE/OS VERSIONS
Windows 11, Krita 5.0
Comment 1 Halla Rempt 2021-12-26 11:30:18 UTC
With this file, the text is rendered correctly on Linux,  but incorrectly on Windows. That makes it sound like it's an issue with Qt's text rendering engine, since there is no platform specific code in Krita.
Comment 2 Olver Mendes 2021-12-26 11:41:55 UTC
I installed Linux on my laptop and con confirm, looks fine on Manjaro but Windows 11 has the issue
Comment 3 Olver Mendes 2021-12-26 11:44:03 UTC
However, moving the textbox on Linux seems to have similar graphical smearing
Comment 4 wolthera 2023-08-06 13:09:09 UTC
This should be fixed now, though no clue what caused the original problem: we basically replaced the whole text-layout.