]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
libcupsfilters: Fix orientation-requested = 0 in pdftopdf()
authorTill Kamppeter <till.kamppeter@gmail.com>
Thu, 30 Dec 2021 02:49:15 +0000 (23:49 -0300)
committerTill Kamppeter <till.kamppeter@gmail.com>
Thu, 30 Dec 2021 02:49:15 +0000 (23:49 -0300)
commit947634e296644f2af4e92871e72788579a70253f
tree266d0208ad655d95fb97b422243e488c40f2bb38
parentbf1acd31184ab6822b874bdeb0d4ea966e11f5bc
libcupsfilters: Fix orientation-requested = 0 in pdftopdf()

CUPS often adds "orientation-requested=0" to the options in the
filter/backend command line, meaning automatic selection. pdftopdf()
did not support this value and therefore did not do the correct
settings making margins of rotated landscape pages not be done
correctly.
cupsfilters/pdftopdf/pdftopdf.cc