Bug 250674 - Okular prints text and vector graphics thicker than they should under some circumstances
Summary: Okular prints text and vector graphics thicker than they should under some ci...
Status: RESOLVED UPSTREAM
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.11.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 16:49 UTC by Alvaro Manuel Recio Perez
Modified: 2010-09-09 22:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Original cover as SVG for Inkscape (192.45 KB, image/svg+xml)
2010-09-09 16:49 UTC, Alvaro Manuel Recio Perez
Details
Full cover saved as PostScript (doesn't trigger the bug) (237.74 KB, application/postscript)
2010-09-09 16:53 UTC, Alvaro Manuel Recio Perez
Details
Cover without the problematic logo (doesn't trigger the bug) (111.32 KB, application/pdf)
2010-09-09 16:54 UTC, Alvaro Manuel Recio Perez
Details
Minimal cover triggering the bug (if the Symbian logo is removed the bug doesn't appear) (32.43 KB, application/pdf)
2010-09-09 16:55 UTC, Alvaro Manuel Recio Perez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Manuel Recio Perez 2010-09-09 16:49:50 UTC
Created attachment 51478 [details]
Original cover as SVG for Inkscape

Version:           0.11.1 (using KDE 4.5.0) 
OS:                Linux

Please bear with me for a moment because this seem to be a bug which is triggered only under certain circumstances. I discovered it while working with some colleagues on a cover for a book made with Inkscape.

The cover of the book, which I'll attach to this bug, is saved as PDF from Inkscape. When printed from Evince in Ubuntu 10.04 or Acrobat Reader in Windows XP the result the same (and correct). When printed from Okular in Ubuntu 10.04 or Ubuntu 10.10 beta, the result is wrong: the lines of the illustrations are thicker and the text is bolder than what it's shown on screen or the printing from Evince or Acrobat Reader. This is especially noticeable on the star pattern at the top and the bottom of the page: while the correct printing produces a star with a sharp center, the center of the star printed from Okular is just a blob of black ink where the individual lines can't be distinguished.

When I decided to report the bug I tried to create a sample PDF file to reproduce the bug: a blank page with the star. However, that file is correctly printed by Okular, producing a star with a sharp center. Then I began a trial and error process to try to pinpoint the cause of the misbehaviour and it seems that the Symbian logo is the culprit. Removing the Symbian logo from the cover makes Okular produce the correct printing, identical to those of Evince and Acrobat Reader, so that logo is somehow triggering the bug. It's also worth noting that this bug only occurs with PDF files, as the full cover with the Symbian logo is correctly printed when saved as a PostScript file.

I'm attaching the original cover for Inkscape, the PostScript version, the cover without the Symbian logo as PDF and a minimal PDF file which triggers the bug.

Reproducible: Always

Steps to Reproduce:
1. Open the PDF file with the Symbian logo.
2. Print it.

Actual Results:  
The printed page has thicker lines than usual and bolder text.

Expected Results:  
The printed page should look the same as on the screen.

OS: Linux (x86_64) release 2.6.32-24-generic
Compiler: cc
Distro: Kubuntu 10.04
KDE SC version: 4.5.1
Comment 1 Alvaro Manuel Recio Perez 2010-09-09 16:53:34 UTC
Created attachment 51479 [details]
Full cover saved as PostScript (doesn't trigger the bug)
Comment 2 Alvaro Manuel Recio Perez 2010-09-09 16:54:32 UTC
Created attachment 51480 [details]
Cover without the problematic logo (doesn't trigger the bug)
Comment 3 Alvaro Manuel Recio Perez 2010-09-09 16:55:33 UTC
Created attachment 51481 [details]
Minimal cover triggering the bug (if the Symbian logo is removed the bug doesn't appear)
Comment 4 Albert Astals Cid 2010-09-09 21:22:23 UTC
Hi, the conversion of pdf to ps (so we can print the file) is not done by okular but by poppler so there is nothing we can do to fix it. Please open a bug against poppler in https://bugs.freedesktop.org/

Thanks for using Okular
Comment 5 Alvaro Manuel Recio Perez 2010-09-09 21:31:45 UTC
Ok, thanks!

I have a question though. As far as I know, Evince also uses poppler as its backend. Shouldn't this bug also manifest in that program? Printing the "wrong" PDF gives the correct result. I just want to make sure I don't fill an incorrect bug upstream...
Comment 6 Albert Astals Cid 2010-09-09 21:38:37 UTC
I happen to be the poppler maintaner, trust me, it's a poppler bug.
Comment 7 Alvaro Manuel Recio Perez 2010-09-09 22:33:46 UTC
poppler bug reported: https://bugs.freedesktop.org/show_bug.cgi?id=30107.