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

            Bug ID: 172781
           Summary: DOCX — Paragraph text renders as white instead of
                    black when opening/exporting to PDF via LibreOffice
                    Writer
           Product: LibreOffice
           Version: 26.2.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 207714
  --> https://bugs.documentfoundation.org/attachment.cgi?id=207714&action=edit
Sample docx file which can be used to reproduce the issue

1.Issue Description:
When a .docx file is opened in LibreOffice Writer (or rendered headlessly for
PDF export), certain text that is defined as black (or automatic/dark) in the
original document is incorrectly rendered as white. This makes the text
invisible against a light/white background.

The issue is specific to .docx format interpretation. The same document opened
in Microsoft Word renders the text correctly in black. The problem appears to
be in how LibreOffice reads and applies font color properties — likely related
to paragraph shading, character style inheritance, or theme color resolution —
causing a white font color to be applied where black (or automatic) is
expected.

The attached sample file (SampleFile1.docx) reproduces the issue. 

2. Steps to Reproduce
    1.Download and open the attached file SSampleFile1.docx in LibreOffice
Writer.
    2.Observe the text in the affected paragraph/heading section labeled
"Execution Resource Assignment","Desktop Review".
    3.Alternatively, export the file to PDF via File → Export as PDF and open
the resulting PDF.

3. Actual Results:
    *The text is rendered in white, making it invisible against the white/light
page background.
    *The same rendering issue occurs when the document is exported to PDF — the
affected text is white and unreadable.

4. Expected Results:
    *The text should be rendered in black (as defined in the source document).
    *The exported PDF should display the text in black, matching the original
document's intended formatting.

Reproducible: Always

User Profile Reset: No

Additional Info to include in ticket:

Version: 26.2.4.2 (X86_64)
Build ID: 0229ac93fcf0d7cbc6376066c6f35021cef002dc
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to