Bug 93200 - PDF import: text blocked in highlighted area
Summary: PDF import: text blocked in highlighted area
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: PDF-Import-Draw
  Show dependency treegraph
Reported: 2015-08-06 14:56 UTC by Gregor
Modified: 2018-12-16 16:31 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

pdf highlight blocking text (1.35 MB, application/pdf)
2015-08-06 15:15 UTC, Gregor
Blending test PDF (1.63 KB, application/pdf)
2016-06-26 08:22 UTC, vvort
page 2 extracted from attachment 117716 has its highlighted text obscured by the highlight (51.58 KB, application/pdf)
2018-12-16 16:22 UTC, V Stuart Foote

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor 2015-08-06 14:56:30 UTC
I recently had Linux and LibreOffice installed. Impress is opening the acrobat pdf's and text that is highlighted is covered over by the highlight. The highlight is showing up, but not the text. I am not sure how to respond about the hardware question
Comment 1 Gregor 2015-08-06 15:15:47 UTC
Created attachment 117716 [details]
pdf highlight blocking text

See highlighted areas
Comment 2 raal 2015-08-06 16:23:07 UTC
Reproducible with Version: (x64)
Build ID: e92a8b92072284fd7c37d7bb3e1e8fe72a185f35
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2015-07-22_21:46:26
Comment 3 Gregor 2015-08-06 16:50:07 UTC
I am using Linux Mint 17.2 Rafaela 64 bit
Hardware AMD Anthlon 64 bit processor 3 gig memory
Comment 4 Heiko Tietze 2016-05-09 15:28:56 UTC
Confirmed (looks like this issue is also related to the transparency problem)

Build ID: 6b232aeecc55f1715bc111e636e36a8e24827efb
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-26_07:40:04
Locale: de-DE (de_DE)
Comment 5 vvort 2016-06-26 08:22:06 UTC
Created attachment 125910 [details]
Blending test PDF

This highlight is combined with text using multiply blend mode.
But LibreOffice have no support for blending modes.
See attached PDF test file for example.
Comment 6 QA Administrators 2017-09-01 11:16:22 UTC Comment hidden (obsolete)
Comment 7 V Stuart Foote 2018-12-16 16:22:27 UTC
Created attachment 147609 [details]
page 2 extracted from attachment 117716 [details] has its highlighted text obscured by the highlight

Remains an issue, the highlights block the underlaying text. As in page 2 of  attachment 117716 [details] extracted here.

Version: (x64)
Build ID: 9d0f32d1f0b509096fd65e0d4bec26ddd1938fd3
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: en-US (en_US); Calc: CL

and current master/6.3.0

Version: (x64)
Build ID: 3c964980da07892a02d5ac721d80558c459532d0
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-12-12_03:38:09
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 8 V Stuart Foote 2018-12-16 16:31:51 UTC
As an aside, the pdfium based PDF insert does not render the text highlighting into its bitmap.  But it does handle blending correctly when inserting the "Blending test PDF" of attachment 125910 [details]

Would have expected similar handling...