<div dir="ltr">I've switched from pdftops to pdftocairo three years ago and am mostly happy with it. It produces consistently good print jobs. <div><br></div><div>Most serious bug so far is this one for me, where pdftocairo chokes on some PDFs and hogs one CPU for a very-very long time (I have a background job to kill it after 30 min). If you have a busy print-server, a couple of such jobs would take it down. </div><div><br></div><div><a href="https://bugs.freedesktop.org/show_bug.cgi?id=82963">https://bugs.freedesktop.org/show_bug.cgi?id=82963</a></div><div><br></div><div>Another bug is this one, but it affects both pdftocairo and pdftops for me. They produce a seemingly good PostScript, but Adobe PS engine in the printers chokes on it. Adobe never replied to my bug reports. </div><div><br></div><div><a href="https://bugs.freedesktop.org/show_bug.cgi?id=79897">https://bugs.freedesktop.org/show_bug.cgi?id=79897</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 6, 2016 at 4:18 PM, Pierre-Luc Samuel <span dir="ltr"><<a href="mailto:Pierre-Luc.Samuel@ticketmaster.com" target="_blank">Pierre-Luc.Samuel@ticketmaster.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OK I tested with pdftocairo and indeed the result is much better. I'm kinda surprised though, I would have thought that pdftops would be more specialized and generally better, but it doesn't seem so.<br>
<br>
Are there some pitfalls to using pdftocairo for postscript rendering? Are there major differences compared to pdftops that I should be aware of?<br>
<br>
Thanks for the info, you guys are very helpful.<span class="HOEnZb"><font color="#888888"><br>
<br>
Pierre-Luc</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 07/06/2016 08:10 AM, Adrian Johnson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
pdftops does preserve the original resolution. However if the page<br>
contains anything that can't be converted directly to PostScript<br>
(usually transparency), the entire page is rasterized to a single<br>
fallback image with the resolution specified by -r.<br>
<br>
pdftocairo also preserves the original resolution. In the case where a<br>
fallback image is required, pdftocairo will only rasterize the parts of<br>
the page that can't be converted to PostScript. So if PDF images do not<br>
contain transparency they will always be output at their native resolution.<br>
<br>
There is a bug open to add support to pdftops for finer-grained<br>
fallbacks. But I'm not sure how to handle different color spaces.<br>
<br>
<a href="https://bugs.freedesktop.org/show_bug.cgi?id=66056" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=66056</a><br>
<br>
<br>
On 05/07/16 23:19, suzuki toshiya wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Pierre,<br>
<br>
Sorry for that I'm posting this before testing by myself,<br>
have you take a look on pdftocairo? I remember, when I<br>
convert a pdf to a svg, pdftocairo does not re-rasterize<br>
the embedded raster image, so I expect PS output from<br>
pdftocairo could be better for your purpose.<br>
<br>
Regards,<br>
mpsuzuki<br>
<br>
Pierre-Luc Samuel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I've been wondering if there is a feature for pdftops that would convert<br>
pdf to postscript by keeping the original resolution of images embedded<br>
in the pdf? The problem I'm encountering is that my pdfs contain low<br>
res images that are stretched to be big; pdftops converts them by<br>
re-rasterizing the low res images so that they look smooth.<br>
<br>
The result is that my images now look extremely smooth, but the<br>
resulting postscript file size explodes. The issue I have with "-r<br>
<dpi>" is that the native resolution of my images is about 150 dpi, but<br>
when using "-r 150", I get reasonable file sizes, but the text sections<br>
of the pdf becomes barely readable.... I would like to suggest a<br>
"-nativeimageres" option that would be independent of the existing "-r<br>
<dpi>" option.<br>
<br>
Do you guys think a "-nativeimageres" option is technically possible?<br>
Could you give me indications where to start, in case I need to look<br>
deeper into this?<br>
<br>
Thanks,<br>
Pierre-Luc<br>
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org" target="_blank">poppler@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/poppler" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
</blockquote>
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org" target="_blank">poppler@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/poppler" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
<br>
</blockquote>
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org" target="_blank">poppler@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/poppler" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
</blockquote>
<br>
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org" target="_blank">poppler@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/poppler" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-Alex</div></div>
</div>