Bug 456992

Summary: Krita's text tool render Hebrew text wrong
Product: [Applications] krita Reporter: Daniel <pugo>
Component: Tool/TextAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED LATER    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 5.0.6   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: a zip file with a short video, krita's log and the file that has been used during the video.

Description Daniel 2022-07-21 18:49:04 UTC
Created attachment 150797 [details]
a zip file with a short video, krita's log and the file that has been used during the video.

SUMMARY
After typing in Hebrew into the "edit-text" window and saving, the text-box on the canvas appear completely empty (sometimes with only bits of the first letter in the left side of the box). If I try to drag the text-box with the "Select shapes tool" to the right, the text I've inserted would be "printed" on the canvas as if it was a stamp brush.
After closing and re-opening the the file the trail caused by dragging the text-box would disappear. But the text inside the text-box wouldn't be rendered either

SOFTWARE/OS VERSIONS
Windows 10, 21H2:
Comment 1 Halla Rempt 2022-08-01 13:21:54 UTC
That's probably because we currently render text using Qt's text layout. Wolthera has rewritten the layout engine completely (https://invent.kde.org/graphics/krita/-/merge_requests/1403) and this should be better when that gets merged. We cannot fix it in the existing code.