commit | c86d472e35440254cf860f40c40aaaf45992bfdc | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Jun 23 17:59:55 2009 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Jun 23 17:59:55 2009 |
tree | 19e6ccba4b4f3e2faf7aa8baa8abe1699ee999c7 | |
parent | a15cdd8a261db61ed279f2eaddf1dc72d0a282e0 [diff] |
Scale the margins according to the DPI of the printer. The margins were fixed at 500 units which caused the margins to be huge for low DPI (low quality) printing output. BUG=http://crbug.com/14502 TEST=Print with different DPI settings and notice how the margins stay the same physical width. Review URL: http://codereview.chromium.org/145008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19032 0039d316-1c4b-4281-b951-d872f2087c98