[Libreoffice-bugs] [Bug 128249] New: Calc does not correctly show some Chinese characters

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Oct 19 10:50:53 UTC 2019


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

            Bug ID: 128249
           Summary: Calc does not correctly show some Chinese characters
           Product: LibreOffice
           Version: 6.3.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: twifty at zoho.com

Description:
Certain valid Chinese characters are rendered as boxes when using Droid Sans
font.

Steps to Reproduce:
Working with the utf8 codepoints "\xE5\x90\xB4\xE7\x8F\xAE\xE9\xA3\x8F"

Enter the above 3 Chinese characters into a cell, and select the font "Droid
Sans", The text is displayed as either 3 boxes (invalid codepoint?) or the
first character is a box, or the last character is a box. This behaviour
changes depending on where you click in the editor. I've validated within other
text editors that the "Droid Sans" font works correctly.

The input box, directly above the sheet, will display all characters correctly
when selecting the cell. But when clicking the input box itself, all the
characters within the input change to boxes.

Now enter the string
"\x50\x61\x6D\xEF\xBC\x88\xE5\x90\xB4\xE7\x8F\xAE\xE9\xA3\x8F\xEF\xBC\x89" into
a cell. This is the letters "Pam" followed by open brace, 3 Chinese characters
above, closing brace). The third Chinese character is always displayed as a
box. Furthermore, trying to change the font will only change the font of the
first 3 ASCII characters. The It is impossible to change the font of the utf8
characters. (Perhaps the sheet needs to be configured to use DroidSans first to
see this bug).

Earlier versions of Calc (I cannot downgrade on my OS) did not have this issue,
but I'm unable to specify in exactly which version this appeared.

Actual Results:
Invalid codepoint character displayed

Expected Results:
Actual Character displayed


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Using Manjaro Linux with the 5.3.6 kernel. LibreOffice-fresh 6.3.2 from the
arch repos. Tested on both Gnome and KDE.

Version: 6.3.2.2
Build ID: 6.3.2-2
CPU threads: 16; OS: Linux 5.3; UI render: default; VCL: kde5; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191019/39632358/attachment.html>


More information about the Libreoffice-bugs mailing list