Issue 120131 - Export as PDF correctly layering outlines, incorrectly layering fill.
Summary: Export as PDF correctly layering outlines, incorrectly layering fill.
Alias: None
Product: Draw
Classification: Application
Component: save-export (show other issues)
Version: 3.4.0
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2012-07-01 18:43 UTC by DrC
Modified: 2013-03-21 19:32 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 3.4.1
Developer Difficulty: ---

tgz folder containing .odg and exported .pdf (70.81 KB, application/x-gzip)
2012-07-01 18:45 UTC, DrC
no flags Details
Screenshot: PDF viewer on the left, AOO Draw on the right (150.30 KB, image/png)
2012-07-02 08:44 UTC, Ariel Constenla-Haile
no flags Details
screenshot showing spurious apparent transparency on .pdf (107.19 KB, image/png)
2012-07-02 09:27 UTC, DrC
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description DrC 2012-07-01 18:43:28 UTC
Export as pdf default behaviour correctly layers object outline, but incorrectly layers their fills.

Example - the heart icon on attached file. 3.2.1 
OOO320m19 (Build:9505)
ooo-build, Ubuntu package 1:3.2.1-7ubuntu1.1


3.3.0 (build 9567) on Windows7  (Why can't I cut and paste Help-about :(   )

Submit form requires but does not allow me to select a version.


Comment 1 DrC 2012-07-01 18:45:01 UTC
Created attachment 78527 [details]
tgz folder containing .odg and exported .pdf
Comment 2 Regina Henschel 2012-07-01 22:41:10 UTC
I do not understand your problem. The pdf looks the same as the odg-document.

Are you concerned, that the heart drawing on the first page has a black line? Then you need to set the line to "invisible".
Comment 3 DrC 2012-07-02 08:27:19 UTC
The outline on the first page is there to show that the outline is correctly layered in both the .odg and the .pdf.  The left hand ellipse is partially covered by the right hand one.

The pdf incorrectly shows the solid fill of the left hand ellipse superimposed over the gradient shading of the right hand ellipse. 

The second page is irrelevant to the bug (sorry).  It has yet to be edited to show the shading effect I am trying to achieve.

You may need true colour to show the shading.
Comment 4 Ariel Constenla-Haile 2012-07-02 08:44:35 UTC
Created attachment 78543 [details]
Screenshot: PDF viewer on the left, AOO Draw on the right

I guess this screenshot shows the bug reported by the user. On the PDF, the fill color of the right ellipse does not look good.
Comment 5 DrC 2012-07-02 09:18:46 UTC
Looking in more detail and playing with it a bit, the .pdf seems to have a transparency in the top layer that is not in the .odg.
Comment 6 DrC 2012-07-02 09:27:06 UTC
Created attachment 78546 [details]
screenshot showing spurious apparent transparency on .pdf

If you edit the gradient on the .odg right hand ellipse to something totally different then export as .pdf the bug becomes more obvious.
Comment 7 Regina Henschel 2012-07-02 14:27:54 UTC
I still cannot reproduce it, the left oval does not shimmer through. Are you sure you test it in AOO3.4?
Comment 8 DrC 2012-07-02 20:36:43 UTC
No - tested on versions listed.  Submission form would not let me select a version  (reported on initial report) so maybe we have a bugzilla bug?

I will download the later version when I can free up a machine for diagnostic work. Meanwhile it is a bug in (at least my) current versions.
Comment 9 Rob Weir 2013-03-21 19:32:13 UTC
Confirmed in AOO 3.4.1 on Windows 7.

In DrC's attachment, look only at the first page, at the right lobe of the heart symbol.  Look at the fill in the PDF.  The error shows up more distinctly in Ariel's screenshot.  It is showing some sort of Moiré pattern/anti-alising artifact.

I'm adding Armin to the cc since this is his area of expertise.