]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
Setting orientation for crop-to-fit and fill. 98/head
authordh <dhirajyadav135@gmail.com>
Thu, 7 Mar 2019 12:52:10 +0000 (18:22 +0530)
committerdh <dhirajyadav135@gmail.com>
Thu, 7 Mar 2019 12:52:10 +0000 (18:22 +0530)
commit5af73c285afa9883693ce7bfd75a0d7cbc249f18
tree37ce63030f84689059ea8f83b5a909c495d0fa1a
parentf0fc1ceec2e6e1ca1390d8e400625cf33bc71b32
Setting orientation for crop-to-fit and fill.

When the input format is other than pdf(like ps), pdftopdf is unable to set orientation
for crop-to-fit and fill. New function is_landsape is added to get orientation
of input file and orientation is set accordingly.
filter/pdftopdf/pdftopdf.cc
filter/pdftopdf/pdftopdf_processor.cc
filter/pdftopdf/pdftopdf_processor.h
filter/pdftopdf/qpdf_pdftopdf_processor.cc
filter/pdftopdf/qpdf_pdftopdf_processor.h