www.cendio.com
Bug 5824 - pdftocairo rasterises some vector documents on Windows
: pdftocairo rasterises some vector documents on Windows
Status: NEW
: ThinLinc
Printing
: pre-1.0
: PC Unknown
: P2 Normal
: LowPrio
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2016-03-22 13:35 by
Modified: 2016-06-03 07:42 (History)
Acceptance Criteria:


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


Note

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


Description From cendio 2016-03-22 13:35:08
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 From cendio 2016-03-22 13:37:06 -------
Created an attachment (id=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 From cendio 2016-03-22 13:37:50 -------
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 From cendio 2016-03-22 13:44:14 -------
Reported upstream:

https://bugs.freedesktop.org/show_bug.cgi?id=94659
------- Comment #5 From cendio 2016-06-03 07:39:52 -------
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 From cendio 2016-06-03 07:40:25 -------
Created an attachment (id=711) [details]
Not fully rasterized
------- Comment #7 From cendio 2016-06-03 07:41:03 -------
Created an attachment (id=712) [details]
90% rasterized
------- Comment #8 From cendio 2016-06-03 07:42:37 -------
(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.