Description: The specific color of an overline of a text is not respected when printing a document or exporting it as PDF. The overline is always printed or exported in black color. Steps to Reproduce: 1. Create an empty document in Writer 2. Enter at least one character in the document. 3. Change the color of this character to red, for example. 4. Add an overline to the character. 5. Print the document or export it as a PDF. Actual Results: The color of the overline is black. Expected Results: The color of the overline should match the color of the associated character. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.5.1.2 (X86_64) / LibreOffice Community Build ID: 50(Build:2) CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: de-DE (de_DE.UTF-8); UI: de-DE Ubuntu package version: 4:7.5.1~rc2-0ubuntu0.22.04.1~lo1 Calc: threaded
Created attachment 186219 [details] Overline test page
Created attachment 186220 [details] Overline test page after export as PDF file
You've left the color for the overlining as 'Automatic' Print and Export works correctly if the color for the overline is explicitly set (to match the font, or to some other color from the Character... dialog). However, I can confirm that the Export as PDF filter picks up 'Automatic' as a color different than the font color--renders to PDF as 'Black', while with a print to PDF it picks up the Red for the overline. Version: 7.5.1.2 (X86_64) / LibreOffice Community Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
Created attachment 186223 [details] sample Flat ODF xml doc with overline strikethrough and underline
As far as I understand WYSIWYG, the color displayed in the program for a character (overline) should match the color on a printout or in an exported PDF file without having to make additional settings for it.
(In reply to bughunter from comment #5) > As far as I understand WYSIWYG ... Agree, and why this is confirmed NEW for the PDF export. Meanwhile, setting the Character... dialog's Font Effects tab Text Decoration: Overlining to a specific color rather than 'Automatic' is a workaround.
*** This bug has been marked as a duplicate of bug 48707 ***