Issue 84603 - PDF rendering artifacts with transparent page background
Summary: PDF rendering artifacts with transparent page background
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.3.1 RC1
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 88740 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-12-15 19:42 UTC by Joe Smith
Modified: 2013-08-07 14:44 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Sample document; export & view PDF to see problems (11.70 KB, text/plain)
2007-12-15 19:44 UTC, Joe Smith
no flags Details
Sample views and specific problem descriptions (57.44 KB, application/vnd.sun.xml.draw)
2007-12-15 19:46 UTC, Joe Smith
no flags Details
one slide that contains a transparent mask, the outliine of which shows up when exporting to PDF (1.60 MB, application/vnd.sun.xml.impress)
2008-01-07 18:32 UTC, kswenson
no flags Details
the corresponding PDF file (402.00 KB, application/pdf)
2008-01-07 18:33 UTC, kswenson
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Joe Smith 2007-12-15 19:42:48 UTC
A Writer document may have a background image as part of the page style. Such an
image can appear as a "watermark" if the image is mostly transparent. When text
frames, which are otherwise invisible, overlap colored areas of the background
image, they produce visible rendering artifacts in an exported PDF.

Steps to reproduce:
1) Open the sample document
2) Export to PDF
3) View the PDF in Adobe Reader

Notes:
* The sample document has a simple black PNG image (75% transparent) as the
  background. This is just for demonstration, to make the problem easier to see.
* There is a rendering problem in the Writer Page preview as well: the 50%
  white frame (middle bottom row) does not appear initially, but only after the
  area is covered by another window and then re-exposed.
* The line-artifacts are much more difficult to see using the free evince PDF
  reader, but they are still present. I haven't tested any other PDF readers.

Workarounds:
* Instead of a transparent background image, use an opaque image. In an 
  image-editor, create a white background layer under the transparent image,
  then 'flatten' and export to an opaque image to be used as the Writer background.
* Or, use frames that have a color-fill (e.g. white), at 100% transparency
Comment 1 Joe Smith 2007-12-15 19:44:54 UTC
Created attachment 50344 [details]
Sample document; export & view PDF to see problems
Comment 2 Joe Smith 2007-12-15 19:46:31 UTC
Created attachment 50345 [details]
Sample views and specific problem descriptions
Comment 3 Joe Smith 2007-12-15 20:24:54 UTC
Some of the problems here may overlap with Issue 83388
Comment 4 michael.ruess 2007-12-17 08:55:20 UTC
Reassigned to HI.
Comment 5 kswenson 2008-01-07 18:32:03 UTC
Created attachment 50719 [details]
one slide that contains a transparent mask, the outliine of which shows up when exporting to PDF
Comment 6 kswenson 2008-01-07 18:33:22 UTC
Created attachment 50720 [details]
the corresponding PDF file
Comment 7 kswenson 2008-01-07 18:34:07 UTC
I have added files associated with my problem at:
http://user.services.openoffice.org/en/forum/viewtopic.php?f=10&t=1451
Comment 8 kswenson 2008-01-08 10:34:28 UTC
Note that when exporting to JPG there is no such problem.
Comment 9 kpalagin 2008-01-09 10:05:02 UTC
Confirming using 2.4m241 on WinXP - generated .pdf has artifacts.
Comment 10 h.ilter 2008-01-18 13:47:16 UTC
Reassigned to PL
Comment 11 philipp.lohmann 2008-01-21 13:37:15 UTC
pl->sj: these artifacts are produced by the viewer due to antialiasing (e.g. in
acrobat reader the artifacts vanish when one disables image and line art
smoothing). This happens when images are put "on edge", in this case obviously
antialising must lead to such artifacts. I don't know if we can do anything
against this; the only method I can think of would be to combine such images
into one bitmap. I don't know whether that is feasible though.
Comment 12 Mathias_Bauer 2008-04-21 11:50:04 UTC
target 3.x
Comment 13 Mathias_Bauer 2008-04-21 14:36:17 UTC
hmpg, I said *3.x*
Comment 14 h.ilter 2008-05-06 12:19:01 UTC
*** Issue 88740 has been marked as a duplicate of this issue. ***