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
Created attachment 175693 [details] text with shadow in ppt
Created attachment 175694 [details] broken ppt to pdf export
Created attachment 175695 [details] issue screenshot
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.
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...
[Automated Action] NeedInfo-To-Unconfirmed
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
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
Created attachment 186061 [details] Export of the ppt from PowerPoint
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.