[Poppler-bugs] [Bug 81760] pdftops sometimes creates huge PS 3 files out of small PDFs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 16 11:20:49 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=81760

--- Comment #24 from Adrian Johnson <ajohnson at redneon.com> ---
(In reply to Adrian Johnson from comment #23)
> I would prefer to avoid using multiple "#if ENABLE_ZLIB" checks in this
> file. In some places the flate code is wrapped in both the #if and "if
> (useFlate)". In other places it just has the "if (useFlate)". It is not
> clear to anyone modifying this file is there is a reason for the distinction.

I now see some of these are to wrap the FlateEncoder class which is only
defined when ENABLE_ZLIB is defined. Those case are ok. There is one case where
the #if is not necessary:

+#if ENABLE_ZLIB
+      if (useFlate) {
+    writePS("    /FlateDecode filter\n");
+      } else
+#endif

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160216/fd27389c/attachment.html>


More information about the Poppler-bugs mailing list