diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-01 14:56:39 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-01 14:56:39 +0000 |
commit | 2dec58a1e2770208e9eba8300c52a82af8b8df0b (patch) | |
tree | 65f610edcc122d307fc9bab9b531bb8edc75903d /chrome/browser/rlz | |
parent | 3c06d5c5c16948627c5a1c27a6db263f87c84b98 (diff) | |
download | chromium_src-2dec58a1e2770208e9eba8300c52a82af8b8df0b.zip chromium_src-2dec58a1e2770208e9eba8300c52a82af8b8df0b.tar.gz chromium_src-2dec58a1e2770208e9eba8300c52a82af8b8df0b.tar.bz2 |
Fix font regression. I was using ascent() instead of font->ascent(), which
I think doesn't take into account fallback fonts and small caps, so those
characters would be incorrectly vertically aligned. This also fixes an old bug
I noticed where if the run is more than 1024 pixels, it will start being
drawn over itself since we never used the updated x coordinate.
Review URL: http://codereview.chromium.org/9206
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/rlz')
0 files changed, 0 insertions, 0 deletions