[konsole] [Bug 445846] New: "Bi-directional text rendering" should be renamed to something like "Support for complex scripts"

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sun Nov 21 02:30:32 GMT 2021


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

            Bug ID: 445846
           Summary: "Bi-directional text rendering" should be renamed to
                    something like "Support for complex scripts"
           Product: konsole
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: ninjalj at gmail.com
  Target Milestone: ---

SUMMARY

At https://invent.kde.org/utilities/konsole/-/merge_requests/524 @tcanabrava
commented:

«When we are in bidirectional text mode, for some reason, konsole treated a
sequence of braile characters as "something that could be grouped into a single
string", passed directly to the painter->drawText, producing strange results.»

>From https://bugs.kde.org/show_bug.cgi?id=401094#c11

« Possible solutions:
 * Add an option for enabling the feature. I'm against this. It will be broken
eventually, because many developers won't test yet another rendering mode.
Also: hack.
  * Rename "Bi-directional text rendering" option to something like "Support
for complex scripts" and enable special > rendering for complex scripts like
Malayalam when it is enabled. RTL scripts already have the same problems, so >
users wouldn't be suprised. This solution has the same issues as previous one,
but it's already there.»

While the behavior changed as per option 2 above, the rename never happened.

ADDITIONAL INFORMATION

Some history:
 - Per https://bugs.kde.org/show_bug.cgi?id=393644, commit
https://github.com/KDE/konsole/commit/a565bc97337a3bfc3a027f46aa2dec3e9a6f8618
, which clips characters to its cell, broke Arabic and other scripts that need
to render whole words (in Arabic, there are different glyphs for initial,
medial, final and isolated positions).
 - Commit bdd98f8561ec92098794e411517f630c87a1dc02 attempted a fix by grouping
characters with Right or ArabicLetter directionality.
 - Bug https://bugs.kde.org/show_bug.cgi?id=401094 is for Malayalam. As it
happens, many Brahmic scripts, while typically being Left-To-Right, also need
to render whole runs of text as a unit (a syllable may be represented by a
glyph for a consonant cluster with dependant vowels in its vecinity).
 - Commit 94ff722fc0e68987bd743663bc63ef99ff4e0706 was a first attempt to fix
Malayalam.
 - Commit 8ad28a12574cadc7a41e152ec683380d7743c2a8 groups characters by script
when bidi is enabled and the character is not double width.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list