GNOME Bugzilla – Bug 599468
Option for controlling the scaling in printing dialog
Last modified: 2010-03-15 15:15:10 UTC
Created attachment 146157 [details] [review] Preserve aspect ratio when scaling patch Evince scales the document in both the x and y direction to match the printer page size. The printout would look better if the same scale for the width and height was used to preserve the aspect ratio. Adobe reader preserves the aspect ratio when scaling a page to fit. The attached patch fixes this. It would be better if there was a user interface option for controlling the scaling. eg the Adobe reader print dialog has a page scaling combo box with the options "none"/"fit to printable area"/"shrink to printable area". Scaling to the printable area would depend on bug 468989.
Created attachment 146158 [details] [review] Preserve aspect ratio when scaling patch Update patch. The old patch had some extraneous changes.
Review of attachment 146158 [details] [review]: Committed to master and gnome-2-28 branch. Thanks!
Created attachment 148439 [details] [review] Add page scaling print option The attached patch creates a print dialog custom tab with a page scale combo box that can select between none/shrink to printable area/fit to printable area. This patch depends on the patches in bug 468989 that expose API for getting the hard margins.
Created attachment 149143 [details] [review] page scaling tooltip Add tooltip help for the page scaling option.
Pushed to git master. I had to appy it manually and I've changed some minor things, so please, review it to make sure I haven't made any mistake.
*** Bug 602569 has been marked as a duplicate of this bug. ***