<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - pdftops sometimes creates huge PS 3 files out of small PDFs"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81760#c20">Comment # 20</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - pdftops sometimes creates huge PS 3 files out of small PDFs"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81760">bug 81760</a>
from <span class="vcard"><a class="email" href="mailto:williambader@hotmail.com" title="William Bader <williambader@hotmail.com>"> <span class="fn">William Bader</span></a>
</span></b>
<pre><span class="quote">>I would prefer the options --disable-zlib --enable-zlib-uncompress</span >
OK. I saw that is what your patches did, but I wanted to make the minimum
amount of changes to the build system.
I think that your patches worked so --disable-zlib also disabled zlib
uncompression. Is it OK to tie them together, or is it possible that someone
would want zlib uncompression and not zlib compression?
<span class="quote">>I don't think binary is guaranteed to work everywhere. It is better to default to ASCII and provide an option to enable binary.</span >
I used level1sep a lot, but to make files that I can software-separate and not
because I have a level 1 RIP. I already made a -binary options to make those
files smaller. Could -binary also skip the ascii encoding in level 2 and 3?
<span class="quote">>Fallback to LZW.</span >
What is the best way to do that? Can the FlateEncoder constructor return an
LZWEncoder, or does it need to return an error flag, and then all the places in
PSOutputDev need to check the status? That could get messy.
FlateEncoder also has a reset() function that needs to call deflateEnd() and
deflateInit(). At that point, I think that it would be very hard to recover.
I looked at deflate.c in the zlib source. I think that deflateInit() can fail
only from a failed memory allocation, so it is probably very unlikely to fail,
and if it does fail, probably other parts of poppler are going to fail for the
same reason of lack of memory.
Regards, William</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>