Bug 150830 - Highlighting made with Adobe Reader is rendered by a pattern over the text
Summary: Highlighting made with Adobe Reader is rendered by a pattern over the text
Status: RESOLVED DUPLICATE of bug 93200
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.2.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Import-Draw
  Show dependency treegraph
 
Reported: 2022-09-06 15:17 UTC by Xavier R
Modified: 2022-09-08 11:49 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Test page with highlighting produced with Writer. No problem here. (8.21 KB, application/pdf)
2022-09-06 15:18 UTC, Xavier R
Details
PDF test page, highlighted with Adobe Acrobat Reader (13.86 KB, application/pdf)
2022-09-06 15:26 UTC, Xavier R
Details
Raw PDF test page (11.32 KB, application/pdf)
2022-09-06 15:26 UTC, Xavier R
Details
Highlighted PDF, exported as Jpeg by Draw (LO 7.3.5.2) (67.94 KB, image/jpeg)
2022-09-06 15:34 UTC, Xavier R
Details
Highlighted PNG, exported as Png with transparency by Draw (LO 7.3.5.2) (114.20 KB, image/png)
2022-09-06 15:35 UTC, Xavier R
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier R 2022-09-06 15:17:15 UTC
Description:
Highlighting made with Adobe Acrobat Reader (free-paid tool of the free-paid software) is rendered by a opaque pattern over the text. Text is masked, unreadable.
And stay masked if you export as PDF.

In a first view i thought that it was a problem of order of rendering (over/under text), but as the color is altered (darker), it's a problem of transparency rendering.

Steps to Reproduce:
1. Open a PDF file with Adobe Acrobat Reader
2. Highlight some words or sentences
3. Save as a new PDF
4. Open it in LibreOffice Draw

Actual Results:
--> Highlighting appears as a opaque pattern over the text, covering it, by the way, and keeping it unreadable.

Expected Results:
Highlighting should be rendered as highlighting (Adobe Reader can be used only on texts)

As easier workarounds, it may be rendered
- by a pattern with transparency over the text (*better*)
- or, by a pattern without transparency under the text (*worst* as colors are affected)


Reproducible: Always


User Profile Reset: No



Additional Info:

Note that the highlighting is well rendered (not covering the text) in:
Microsoft Edge
Firefox
Gimp

Experimented with : 
LibreOffice 7.2.7.2
Adobe Acrobat Reader 2022.001.20142
on Win 11
Comment 1 Xavier R 2022-09-06 15:17:36 UTC
Version: 7.2.7.2 (x64) / LibreOffice Community
Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2
CPU threads: 12; OS: Windows 10.0 Build 22000; UI render: Skia/Vulkan; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL
Comment 2 Xavier R 2022-09-06 15:18:53 UTC
Created attachment 182261 [details]
Test page with highlighting produced with Writer.
No problem here.
Comment 3 Xavier R 2022-09-06 15:23:28 UTC
Comment on attachment 182261 [details]
Test page with highlighting produced with Writer.
No problem here.

Test page with highlighting produced with Writer, as a control sample
Comment 4 Xavier R 2022-09-06 15:26:01 UTC
Created attachment 182262 [details]
PDF test page, highlighted with Adobe Acrobat Reader

To open with Draw to see if the bug occurs, i.e. if the 2 first text lines  are masked.
Comment 5 Xavier R 2022-09-06 15:26:51 UTC
Created attachment 182263 [details]
Raw PDF test page

Raw PDF test page, with no highlighting
Comment 6 Xavier R 2022-09-06 15:32:54 UTC
It occurs also with LO 7.3.5.2 (portable) on win11

Version: 7.3.5.2 (x86) / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 12; OS: Windows 10.0 Build 22000; UI render: Skia/Vulkan; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL
Comment 7 Xavier R 2022-09-06 15:34:30 UTC
Created attachment 182264 [details]
Highlighted PDF, exported as Jpeg by Draw (LO 7.3.5.2)
Comment 8 Xavier R 2022-09-06 15:35:38 UTC
Created attachment 182265 [details]
Highlighted PNG, exported as Png with transparency by Draw (LO 7.3.5.2)
Comment 9 Xavier R 2022-09-06 19:24:54 UTC
It occurs also on Ubuntu with LibO 7.2.7.2:

Version: 7.2.7.2 / LibreOffice Community
Build ID: 20(Build:2)
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu package version: 1:7.2.7-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 10 Rafael Lima 2022-09-07 15:09:40 UTC
Repro with

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 9ba1e1486bf3fcccf98da93d3963b3d4036705a9
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded

And also with

Version: 7.2.7.2 / LibreOffice Community
Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded

It appears we have two problems:
- The Z order seems to be wrong. I guess the correct would be to have the text above the highlight
- Transparency is not being applied. I don't know the exact value, but it seems to be around 70%)
Comment 11 Timur 2022-09-07 17:51:29 UTC
Seems a duplicate.

*** This bug has been marked as a duplicate of bug 93200 ***
Comment 12 Xavier R 2022-09-08 11:41:57 UTC
(In reply to Timur from comment #11)
> Seems a duplicate.
> 
> *** This bug has been marked as a duplicate of bug 93200 ***

Thanks  @Timur for liking to an older report that I didn't found.