https://bugs.freedesktop.org/show_bug.cgi?id=61795

          Priority: medium
            Bug ID: 61795
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Weak Characters (like brackets) are mispositioned with
                    mixed RTL and LTR
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: sijproj...@gmail.com
          Hardware: Other
            Status: UNCONFIRMED
           Version: 3.6.2.2 release
         Component: Writer
           Product: LibreOffice

Created attachment 75900
  --> https://bugs.freedesktop.org/attachment.cgi?id=75900&action=edit
test case

When mixing text of an RTL language (Hebrew) and LTR language (English) many
times brackets are misplaced.

This causes inability to mix texts from English and other languages, thus
making Writer unusable for day to day use.
reproduce-able text:
Hello (עול)ם
expected text:
Hello ‏(עול)ם

as you can see, the parenthesis is misplaced in the first example.  

Todays LibreOffice's solution is to add LRM and RLM chars in the correct place,
this is very unintuitive for 90% of the users.

I think the BiDi algorithm should be enhanced, and place LRM/RLM automatically
according to the current window's keyboard layout. That is if the paragraph is
RTL but the layout is English then put an LRM char before the weak char. This
is what the user usually expects to happen.

I've attached a test case .odt file.

A similar bug with brackets is:
https://bugs.freedesktop.org/show_bug.cgi?id=56408
It might have a similar cause , but it's a different bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to