]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libppd: Corrections for determining resolution in ppdFilterPDFToPS()
authorTill Kamppeter <till.kamppeter@gmail.com>
Sun, 28 Aug 2022 21:49:32 +0000 (23:49 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Sun, 28 Aug 2022 21:49:32 +0000 (23:49 +0200)
commit08e459dc6ed0ac60c30cc8ebb24a5ba3a754b163
treef76bd6a73d7b287d6ae2f27319168c052709b377
parentbf31618457106bdaca957d82ea48ac1f8f5d46b7
libppd: Corrections for determining resolution in ppdFilterPDFToPS()

If we have a PPD file we use ppdRasterInterpretPPD() to determine the
actual resolution of the current job. Only consider the resolution
invalid if both horizontal and vertical resolution are 100 dpi.

When getting resolution from PPD's "Resolution" option setting or
default resolution, set y resolution to x resolution if we have only
one number ("600dpi").
ppd/pdftops.c