Download it now!
Bug 75532 - Incorrect Pdf export of Gradiented drawing object In Writer
Summary: Incorrect Pdf export of Gradiented drawing object In Writer
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: high critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2014-02-26 15:56 UTC by vkmr2012
Modified: 2018-06-21 17:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Zip file with 3 source documents for verification. One LO document and two pdfs (153.04 KB, application/zip)
2014-02-26 15:56 UTC, vkmr2012
Details
pdf of export in LOO 5.4.7-64bit win10-x64 (107.19 KB, application/pdf)
2018-06-21 17:23 UTC, paulystefan
Details
pdf of export in LOO 6.0.5-1-64bit win10-x64 (107.47 KB, application/pdf)
2018-06-21 17:27 UTC, paulystefan
Details
pdf of printer freepdf-ghostscript in LOO 6.0.5-1-64bit win10-x64 (44.68 KB, application/pdf)
2018-06-21 17:38 UTC, paulystefan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vkmr2012 2014-02-26 15:56:13 UTC
Created attachment 94773 [details]
Zip  file with 3 source documents for verification. One LO document and two pdfs

Hi,
Pdf export of Gradiented drawing object in Writer is incorrect.

Steps to reproduce -

(1) Create a new Writer document.

(2) Put some text in line 1 and line 3 or 4

(3) Insert LibreOffice OLE Drawing object in line 2.

(4) Draw two shapes with a connector connecting them.

(5) Change the fill of first shape with Hatching pattern and change its line style and color.

(6) Change the fill of second  shape with  Gradient color scheme and  change its  line  style and line  color.

(7) Change the line style of connector.

(8) Export the  Writer document as pdf file (With LO pdf export). You will  notice  the bounding box of gradiented shape is messed up in pdf file.

(9) Export the Writer document as  pdf  file (With Ghostscript). You will notice the bounding box  of gradiented shpae is messed up in pdf file.


I am including 3 source  files (in a  zip file) for verification.

Good Luck.
Comment 1 Yousuf Philips (jay) (retired) 2014-05-31 09:16:29 UTC
Tested in Windows 7 and printing to the primopdf pdf printer shows it incorrect compared to pdf export.

Printing to CUPS on Linux doesnt have the same problem.
Comment 2 Yousuf Philips (jay) (retired) 2014-05-31 10:52:41 UTC
On LibO 4.3 beta, it crashes after printing, though the print will come out.
Comment 3 Michael Stahl (CIB) 2014-06-11 10:56:58 UTC
apparently this had the regression keyword added erroneously,
can reproduce it in LO 3.6.7 and OOo 3.3 already.
Comment 4 Yousuf Philips (jay) (retired) 2014-06-11 13:00:11 UTC
I added the regression and bibisectrequest related to the 4.3 beta 1 crash, but see its no longer there in 4.3 beta 2.
Comment 5 Björn Michaelsen 2014-08-21 12:21:12 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2015-09-04 02:48:21 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2015-11-19 08:50:20 UTC
Now the object disappears completely from the PDF.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+
Build ID: 66d2b72667792cb18b25805387824d636e2a455c
TinderBox: Win-x86@39, Branch:master, Time: 2015-11-18_02:35:53
Locale: fi-FI (fi_FI)
Comment 8 QA Administrators 2017-10-30 08:31:50 UTC Comment hidden (obsolete)
Comment 9 paulystefan 2018-06-21 17:23:34 UTC
Created attachment 143006 [details]
pdf of export in LOO 5.4.7-64bit  win10-x64

error appears in 5.4.7 (difference in 5.1.0)  like the example
Comment 10 paulystefan 2018-06-21 17:27:06 UTC
Created attachment 143007 [details]
pdf of export in LOO 6.0.5-1-64bit win10-x64

solved in my view  triangle now appears (before a circle in 5.4.7 and in example)
Comment 11 paulystefan 2018-06-21 17:33:46 UTC
 i do not all steps. I export pdf only after opening the odt.

and then it look like in pdf as in LOO 6.0.5.1.
Comment 12 paulystefan 2018-06-21 17:38:57 UTC
Created attachment 143008 [details]
pdf of printer freepdf-ghostscript in LOO 6.0.5-1-64bit win10-x64

same triangle like in export pdf, and is also resolved for me