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

            Bug ID: 161397
           Summary: Issues with copy & pasting Arabic/Persian text with
                    colored characters
           Product: LibreOffice
           Version: 24.8.0.0 alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 194518
  --> https://bugs.documentfoundation.org/attachment.cgi?id=194518&action=edit
Arabic text with colored characters

Description:
After the recent fixes for tdf#61444, copy & pasting text with colored
characters as unformatted text elsewhere, creates garbage rectangles for
unknown characters.

Bug 61444 - Text layout broken across formatting changes (color, underline,
etc.)

Steps to Reproduce:
You need latest build from LO 24.8 dev master sources.

1. Open attachment
2. Copy line 1
3. Open a new Writer document
4. Press ctrl+shift+v, and select "Unformatted text"

Alternatively, you can open the second attachment, which I will upload shortly.

Actual Results:
Text appears with some garbage rectangles.

Note: choosing specific fonts like "Amiri", "Noto Sans Arabic" makes the
rectangles disappear.

Expected Results:
Text should appear as normal Arabic text, without garbage rectangles. The
fallback font is sometimes a very bad selection. For example, Lohit Devanagari
with language set to Hindi in "Character > Font > Complex". But, even in this
situation, fallback font should be used to provide needed characters.

Those garbage rectangles are also visible in the PDF output. Therefore, this is
not a display-only problem.


Reproducible: Always


User Profile Reset: Yes


Additional Info:
Reproducible with the latest LO 24.8 dev master:
Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: fc37066963a866eeb342b3a41b916f2574f5de28
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL threaded

Not reproducible with LO 24.2
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
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.

Reply via email to