MacViews: Fix vertical alignment of text rendering.
NSFont returns fractional values for font metrics. We were truncating the values, causing text to appear too high vertically. The fix is to apply the ceiling function instead. BUG=401345 Review URL: https://codereview.chromium.org/445363006 Cr-Commit-Position: refs/heads/master@{#288479} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@288479 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment