Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 350803002: Windows Printing: Auto-rotate pages 90 degrees counter-clockwise. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/pdfium_engine.cc
===================================================================
--- pdf/pdfium/pdfium_engine.cc (revision 279271)
+++ pdf/pdfium/pdfium_engine.cc (working copy)
@@ -3202,7 +3202,7 @@
// Auto-rotate landscape pages to print correctly.
if (settings.autorotate &&
(dest->width() > dest->height()) != (page_width > page_height)) {
- rotate = 1; // 90 degrees clockwise.
+ rotate = 3; // 90 degrees counter-clockwise.
std::swap(page_width, page_height);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698