[Libreoffice-bugs] [Bug 137639] Copy and pasting English text converts it to Chinese

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 5 14:14:45 UTC 2021


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

Munzir Taha <munzirtaha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Insert Footnote/Endnote     |Copy and pasting English
                   |dialog neither allow        |text converts it to Chinese
                   |Unicode character input     |
                   |using Alt+X nor paste it    |
                   |correctly.                  |

--- Comment #8 from Munzir Taha <munzirtaha at gmail.com> ---
Unfortunately, the bug comes again. I will do my best attaching more debugging
information.

Attached is a bug.odt file that contains a link. Just right-click -> Edit
Hyperlink, Copy the http url, close the dialog and paste the text any where in
the page and you get the Chinese characters. I let them live in the file for
now.

Attached also is a bug.txt file that contains the output of FC_DEBUG=4. I don't
understand why LO is calling for Chinese pattern and fonts when I just copy
English url. Maybe these lines means something to you.


Rule Set: /etc/fonts/conf.d/49-sansserif.conf
FcConfigSubstitute test pattern all family NotEqual "sans-serif"
FcConfigSubstitute test pattern all family NotEqual "serif"
FcConfigSubstitute test pattern all family NotEqual "monospace"
Substitute Edit family AppendLast "sans-serif"

Append list before  "思源宋体"(s) [marker]
Append list after  "思源宋体"(s) "sans-serif"(w)
FcConfigSubstitute editPattern has 8 elts (size 16)
        family: "思源宋体"(s) "sans-serif"(w)
        slant: 0(i)(s)
        weight: 80(i)(s)
        spacing: 0(i)(s)
        hintstyle: 1(i)(w)
        scalable: True(s)
        lang: "zh-cn"(s) "en"(w)
        prgname: "soffice.bin"(s)

FcConfigSubstitute Pattern has 39 elts (size 48)
        family: "KanjiStrokeOrders"(s)
        familylang: "en"(s)
        style: "Medium"(s)
        stylelang: "en"(s)
        fullname: "KanjiStrokeOrders"(s)
 ...
        file: "/usr/share/fonts/kanjistrokeorders/KanjiStrokeOrders.ttf"(w)

Please, tell me if there is a better way to help you debug this.

-- 
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/20210805/a788505e/attachment.htm>


More information about the Libreoffice-bugs mailing list