Switch RenderTextMac to use point font sizes instead of pixel font sizes.
The previous implementation tried to use pixel sizes for consistency with implementations of RenderText on other platforms. However, it turns out that Skia itself uses point font sizes on Mac as does gfx::Font, so it makes more sense to use point sizes throughout. BUG=125664, 137033 TEST=Patch in http://codereview.chromium.org/10879069/ and bring up a print preview on www.google.com. Letter spacing for the header and footer text should be the same as what's produced by current Canary. Review URL: https://chromiumcodereview.appspot.com/10874066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153599 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment