Bug 5824 - pdftocairo rasterises some vector documents on Windows
Summary: pdftocairo rasterises some vector documents on Windows
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Printing (show other bugs)
Version: pre-1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Henrik Andersson
URL:
Keywords: upstream
Depends on:
Blocks:
 
Reported: 2016-03-22 13:35 CET by Pierre Ossman
Modified: 2016-06-03 07:42 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments
lemon jelly sample (5.09 MB, application/pdf)
2016-03-22 13:36 CET, Pierre Ossman
Details
sunny farm invoice sample (197.97 KB, application/pdf)
2016-03-22 13:37 CET, Pierre Ossman
Details
Not fully rasterized (1.66 MB, application/pdf)
2016-06-03 07:40 CEST, Henrik Andersson
Details
90% rasterized (1.57 MB, application/pdf)
2016-06-03 07:41 CEST, Henrik Andersson
Details

Description Pierre Ossman cendio 2016-03-22 13:35:08 CET
There are some documents (or part of documents) that Poppler's pdftocairo rasterises on Windows instead of keeping them in a vector format. This causes a reduction in quality, colour mismatches and generally makes the print job larger.
Comment 2 Pierre Ossman cendio 2016-03-22 13:37:06 CET
Created attachment 678 [details]
sunny farm invoice sample

Second sample, from here:

http://www.princexml.com/samples/
http://www.princexml.com/samples/invoice/invoicesample.pdf
Comment 3 Pierre Ossman cendio 2016-03-22 13:37:50 CET
Note that both samples are rendered properly as vector images when using SumatraPDF, as well as pdftocairo's other backends and with pdftops.
Comment 4 Pierre Ossman cendio 2016-03-22 13:44:14 CET
Reported upstream:

https://bugs.freedesktop.org/show_bug.cgi?id=94659
Comment 5 Henrik Andersson cendio 2016-06-03 07:39:52 CEST
More testing shows that the lemon jelly document not always are rasterized. Seems to be a dependent of which print driver is used.

Direct printing using "HP Laserjet 500 color MFP M570dn UPD PS" driver will make pdftocairo to only rasterize the fifth graphical symbol on first row. See attachment "minimal rasterized".

Direct printing using "HP Laserjet 500 color MFP M570 PCL6" driver, the results is 90% rasterized image. See attachment "90% rasterized". You can see in the scan the bounding box for the rasterization is almost the full graphics. Text around is vectorized.
Comment 6 Henrik Andersson cendio 2016-06-03 07:40:25 CEST
Created attachment 711 [details]
Not fully rasterized
Comment 7 Henrik Andersson cendio 2016-06-03 07:41:03 CEST
Created attachment 712 [details]
90% rasterized
Comment 8 Henrik Andersson cendio 2016-06-03 07:42:37 CEST
(In reply to comment #5)
> Direct printing using "HP Laserjet 500 color MFP M570dn UPD PS" driver will
> make pdftocairo to only rasterize the fifth graphical symbol on first row. See
> attachment "minimal rasterized".
> 

As you can see here, the printer get confused of gradients and masking and renders those parts wrong. Very broken results.

Note You need to log in before you can comment on or make changes to this bug.