https://bugs.documentfoundation.org/show_bug.cgi?id=162120

V Stuart Foote <vsfo...@libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Bidi: autoset paragraph     |Enhance ICU Libs BIDI
                   |direction according to UBA  |detection and assignment of
                   |                            |text run direction (RTL vs
                   |                            |LTR)
             Blocks|                            |113300, 43808
           Severity|normal                      |enhancement
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=91
                   |                            |766,
                   |                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=10
                   |                            |8151
                 CC|                            |vsfo...@libreoffice.org

--- Comment #5 from V Stuart Foote <vsfo...@libreoffice.org> ---
Unicode BIDI handling provided by ICU lib are already implemented but depend on
the RTL/LTR direction assignment for a text run or full paragraph. Assignments
are currently done in UI as direct formatting applied from UNO button actions
on the Standard Toolbar. And automated against text runs of Unicode with
"Strong" bidi values. Some recent adjustments [1][2][3]

So the issue is language detection of text runs, words, sentences, and
paragraph blocks. And automating PS assignment as RTL/LTR is similar to
language detection/assignment needs for Spell checking, i.e. bug 91766.
Additionally language could be assigned based on IME or keyboard locale
detected. But we have issues with those approaches, bug 113298.

Once language detection improves, our "Complex" 'CTL' classification and
RTL/LTR formatting can follow with it, and we can assign/format direction.

=-ref-=
[1] https://gerrit.libreoffice.org/c/core/+/36704
[2] https://gerrit.libreoffice.org/c/core/+/37050
[3] https://gerrit.libreoffice.org/c/core/+/51118


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=43808
[Bug 43808] [META] Right-To-Left and Complex Text Layout language issues
(RTL/CTL)
https://bugs.documentfoundation.org/show_bug.cgi?id=113300
[Bug 113300] [META] Language detection bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to