]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: In pdftops() simplify feeding data into post-processing
authorTill Kamppeter <till.kamppeter@gmail.com>
Thu, 25 Nov 2021 15:57:12 +0000 (16:57 +0100)
committerTill Kamppeter <till.kamppeter@gmail.com>
Thu, 25 Nov 2021 15:57:12 +0000 (16:57 +0100)
commit8f5b2252b80d27d70d8e1a8a4499c109d4b377e1
treec7ace2948e3be9a799a3533c59ef3bb3220a14dc
parentd944d30064f0d6f750687c51852d3057d0f334cc
libcupsfilters: In pdftops() simplify feeding data into post-processing

In post-processing we stop assigning the file descriptorof the input
pipe to stdin and then read the data from stdin but instead, read the
data directly from stdin.

Without this improvement in some cases, especially when we do not have
a PPD file, we are not able to get the output data of the previous
step (Poppler's pdftops or Ghostscript to turn PDF to PostScript, and
the really strange is that this only happens when we call pdftops()
from the universal() filter function).
cupsfilters/pdftops.c