Bug 145095 - PPT to PDF: Text with shadow effect is duplicated.
Summary: PPT to PDF: Text with shadow effect is duplicated.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.3 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2021-10-12 14:47 UTC by Martin Mihalek
Modified: 2025-07-04 03:11 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
text with shadow in ppt (172.00 KB, application/vnd.ms-powerpoint)
2021-10-12 14:49 UTC, Martin Mihalek
Details
broken ppt to pdf export (15.24 KB, application/pdf)
2021-10-12 14:49 UTC, Martin Mihalek
Details
issue screenshot (124.42 KB, image/png)
2021-10-12 14:51 UTC, Martin Mihalek
Details
Export of the ppt from PowerPoint (154.84 KB, application/pdf)
2023-03-18 22:22 UTC, eisa01
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mihalek 2021-10-12 14:47:56 UTC
Description:
PPT containing text with shadow effect is not exported to PDF properly. Shadow renders as text under the original one content. This duplicates the text content on the pages. This issue occurs in Impress or cli conversion.

Steps to Reproduce:
1.Open PPT file with text that have shadow effect
2.Export to PDF

Actual Results:
1.Shadow is not detected, instead its rendered as text layer with shadow color
2.Exported PDF consist of duplicate text contents

Expected Results:
1. Shadow effect is detected and used
2. Exported PDF doesn't contain duplicate text contents


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.1.2 / LibreOffice Community
Build ID: 87b77fad49947c1441b67c559c339af8f3517e22
CPU threads: 16; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: en-US (en_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 1 Martin Mihalek 2021-10-12 14:49:20 UTC
Created attachment 175693 [details]
text with shadow in ppt
Comment 2 Martin Mihalek 2021-10-12 14:49:59 UTC
Created attachment 175694 [details]
broken ppt to pdf export
Comment 3 Martin Mihalek 2021-10-12 14:51:00 UTC
Created attachment 175695 [details]
issue screenshot
Comment 4 Roman Kuznetsov 2021-10-13 11:46:20 UTC
It's a problem in a macOS's PDF viewer. Try use another PDF viewer. I don't see the problem in PDF Exchange Viewer and in Google Chrome.
Comment 5 Martin Mihalek 2021-10-13 11:57:13 UTC
Using other PDF viewer displays the document properly, however parsing the document via apache Apache PDFBox 2.0.22 result in the same issue + not being able to retrieve text color. It's possible that it's Apache PDFBox issue in the end, however exporting the same document from pptx works without any issue...
Comment 6 QA Administrators 2021-10-14 03:48:08 UTC Comment hidden (obsolete)
Comment 7 psidiumcode 2021-10-20 17:22:09 UTC
I could reproduce it in ver:

Version: 6.3.0.0.beta2+
Build ID: e4553dbf3d4c47c10326c9d2f0bedfe69922d3d4
CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-US
Calc: threaded

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 56883788d0090383dad58552f5a11044ffe64a44
CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 8 eisa01 2023-03-18 22:22:16 UTC
Still present, and likely not macOS only given the component

PowerPoint manage to export a file that doesn't have duplicate text layers when copied out of Preview. However, copying out from Firefox PDF viewer does not exhibit duplicate text

There's quite a few bugs exhibited in Preview only...

Version: 7.5.1.2 (AARCH64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 10; OS: Mac OS X 13.2.1; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 9 eisa01 2023-03-18 22:22:42 UTC
Created attachment 186061 [details]
Export of the ppt from PowerPoint
Comment 10 Khaled Hosny 2023-07-04 14:03:05 UTC
We do indeed draw the text twice, once for the main text and once for the shadow. PowerPoint PDF seems to be creating a raster image for the shadow, but this makes the PDF file size 10 times the LibreOffice export.

There does not seem to be a built-in PDF support for shadow effect, so what we are doing is probably as good as any other option. Any suggestions, other than rasterizing the text into an image, are welcome.
Comment 11 QA Administrators 2025-07-04 03:11:28 UTC
Dear Martin Mihalek,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug