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

            Bug ID: 136376
           Summary: RTL lines of text containing zero width non-joiner are
                    displayed as boxes, on Mac
           Product: LibreOffice
           Version: 6.3.5.2 release
          Hardware: All
                OS: Mac OS X (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: l...@huttar.net

Description:
In Persian text, when a zero width non-joiner character (ZWNJ, Unicode U+200C)
is present, most or all of that line of text is displayed as boxes instead of
the correct characters.

In Persian, the ZWNJ is important for correct writing of the language. (See
https://en.wikipedia.org/wiki/Zero-width_non-joiner,
http://zwnj.behnam.es/2014/02/microsoft-and-persian-keyboard-layouts.html)

Here is some text without ZWNJ:



Here it is 
Not with Auflage


Steps to Reproduce:
1. Enter some Persian text without ZWNJ, e.g. copy and paste دست
2. After the above text, on the same line, type a space, then copy and paste
some text containing ZWNJ, e.g. دست‌ها

Actual Results:
Before entering text with ZWNJ, characters are displayed correctly. After
entering text with ZWNJ, all of the characters on the line are displayed as
boxes (empty rectangles).

Sometimes it's only most of the characters on the line; and sometimes certain
characters disappear completely, apparently depending on what text is on the
line.

Expected Results:
The text should all be displayed as Persian characters, e.g. دست دست‌ها


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I will attach examples after the bug is filed.

To check whether this problem was specific to RTL scripts, I tried using a ZWNJ
in LTR text, such as "deaf‌ly" and "Auf‌lage". The problem did not occur in LTR
tests.

I also tried Windows 10 vs. Mac. I only see the problem on Mac. (MacOS 10.14.6
(18G5033))

In addition, I tested both the 6.3.5.2 release and the new 7.0.0.3 build. The
bug is present in both.

Version: 7.0.0.3
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

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

Reply via email to