]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: In pwgtoraster() with PPD do not modify header via IPP options
authorTill Kamppeter <till.kamppeter@gmail.com>
Wed, 20 Oct 2021 14:51:15 +0000 (16:51 +0200)
committerTill Kamppeter <till.kamppeter@gmail.com>
Wed, 20 Oct 2021 14:51:15 +0000 (16:51 +0200)
commit7879d32861ccc9b7b69cb1e316a208e10326cbec
treea314672a7ebdf826d228ad7fa38e0328186da83e
parent422bcbab20fd4b755263f23814f3cb9fa72c19b7
libcupsfilters: In pwgtoraster() with PPD do not modify header via IPP options

In the pwgtoraster() filter function, if we have a PPD file, we do not
call cupsRasterParseIPPOptions() as it sets the Raster header entries
solely by the names and choice names of the IPP attributes and command
line options, regardless of what the PPD supports. This broke some
jobs.

If we have a PPD, we need to convert IPP attributes into proper PPD
options before calling the filter functions (what is done by
libpappl-retrofit for example).
cupsfilters/pwgtoraster.c