Bug 48707 - FILESAVE overline automatic color incorrect in pdf
Summary: FILESAVE overline automatic color incorrect in pdf
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.3.3 release
Hardware: All All
: lowest trivial
Assignee: Not Assigned
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
Reported: 2012-04-14 17:47 UTC by Christopher M. Penalver
Modified: 2021-05-08 03:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:

Problem with overline after pdf-export (152.15 KB, image/png)
2015-05-01 07:02 UTC, Markus Schelbert
Source (8.81 KB, application/vnd.oasis.opendocument.text)
2021-05-08 03:34 UTC, MT
pdf (7.15 KB, application/pdf)
2021-05-08 03:35 UTC, MT

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher M. Penalver 2012-04-14 17:47:46 UTC
Downstream bug may be found at:

1) lsb_release -rd
Description:	Ubuntu precise (development branch)
Release:	12.04

2) apt-cache policy libreoffice-writer
  Installed: 1:3.5.2-2ubuntu1
  Candidate: 1:3.5.2-2ubuntu1
  Version table:
 *** 1:3.5.2-2ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

3) What is expected to happen in LibreOffice Writer via the Terminal:

cd ~/Desktop && wget -c https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/819796/+attachment/2251624/+files/overline%20color%20test.odt -O test.odt && lowriter -nologo test.odt

File -> Export as PDF -> Export button and open in Adobe Reader is the overline above B remains red.

4) What happens is it is black.

WORKAROUND: Highlight B -> Secondary click -> click character... -> Font Effects tab -> change Overline color from Automatic to Light red -> OK button
Comment 1 retired 2014-05-04 12:46:19 UTC
Hi Christopher, I do not understand the reproduce steps of this bug.

Is this bug still valid / reproducible with the latest LO release?  Currently 4.2.3: http://www.libreoffice.org/download/libreoffice-fresh/

Please also try resetting your user profile and let us know if that helps: https://wiki.documentfoundation.org/UserProfile

Should this be still reproducible for you with the latest LO release please set this bug back to UNCONFIRMED. Should this issue be solved set it to WORKSFORME. In that case please attach a test file with which this can easily be reproduced. Thanks :)

Setting to NEEDINFO until more detail is provided.
Comment 2 Christopher M. Penalver 2014-05-04 16:33:30 UTC

>"Hi Christopher, I do not understand the reproduce steps of this bug."

If you don't understand the click-for-click reproduction steps provided in the Description, then you shouldn't toggle the Status of this bug.

>"Is this bug still valid / reproducible with the latest LO release?  Currently 4.2.3: http://www.libreoffice.org/download/libreoffice-fresh/"

As the reproduction steps are trivial to follow, did you try this? Despite this, reproducible in:
Microsoft Windows Vista Business x86 6.0.6002 Service Pack 2 Build 6002
Build ID: a3c00ee3c7b3b0fbcde32baeb7023c7e8526b908
TinderBox: Win-x86@47-TDF, Branch:MASTER, Time: 2014-04-28_07:22:55
>"Please also try resetting your user profile and let us know if that helps: https://wiki.documentfoundation.org/UserProfile"

I don't ever modify my profile so that is silly to do here.

>"In that case please attach a test file with which this can easily be reproduced."

Please read the Description for the attachment.
Comment 3 Markus Schelbert 2015-05-01 07:02:06 UTC
Created attachment 115230 [details]
Problem with overline after pdf-export
Comment 4 Markus Schelbert 2015-05-01 07:08:04 UTC

I have the same Problem and maked a screenshot. the overline is only black in the pdf-export, when no space exists between the different charformats. See the blue arrows in the attachment. if the overline is seperated with whitespaces or return, the problem doesn't exist.

Comment 5 Xisco Faulí 2016-04-27 13:40:25 UTC
This issue is still reproducible in

Build ID: e7f55f15ccd97bc92e1400bc5862171a621da3e2
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-04-27_00:29:05
Locale: es-ES (es_ES)
Comment 6 QA Administrators 2017-05-22 13:39:20 UTC Comment hidden (obsolete)
Comment 7 Roman Kuznetsov 2018-10-07 10:54:01 UTC
still repro in 

Version: (x64)
Build ID: e7d5bad5ae083da12c3ec4a4a8bdc8b42447a242
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-06_02:55:02
Locale: ru-RU (ru_RU); Calc: threaded
Comment 8 QA Administrators 2019-10-08 02:27:52 UTC Comment hidden (obsolete)
Comment 9 Patrick Charlot 2020-09-27 19:42:00 UTC

I can confirm that this issue still remains in LO with kubuntu 18.04.

Comment 10 MT 2021-05-08 03:34:57 UTC
Created attachment 171776 [details]

The overline is black, as expected.
Comment 11 MT 2021-05-08 03:35:40 UTC
Created attachment 171777 [details]

The overline is red!
Comment 12 MT 2021-05-08 03:40:07 UTC
Here is a table with red borders. The following text has an overline. The colour of the overline in the pdf (not in the odt) follows the colour of the table borders, which can't really be the intended behaviour.

Tested on libreoffice (debian) and linreoffice (debian).