diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 04:14:42 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 04:14:42 +0000 |
commit | 450d54eceb47146fb4fd9af724a8589e0c1baa69 (patch) | |
tree | 86befc74041c9a77529d850fe640d903d4a263b6 /gfx/font.h | |
parent | 8a12e2bc1f606a0b8436d7498ec49751baff178f (diff) | |
download | chromium_src-450d54eceb47146fb4fd9af724a8589e0c1baa69.zip chromium_src-450d54eceb47146fb4fd9af724a8589e0c1baa69.tar.gz chromium_src-450d54eceb47146fb4fd9af724a8589e0c1baa69.tar.bz2 |
Also set the canvas size. I missed this in the last patch.
BUG=26354
Review URL: http://codereview.chromium.org/1243001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gfx/font.h')
-rw-r--r-- | gfx/font.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -232,8 +232,7 @@ class Font { // The default font, used for the default constructor. static Font* default_font_; - // Return the scale factor for fonts that account for DPI. We clamp the - // max DPI to prevent large fonts from overflowing UI elements. + // Return the scale factor for fonts that account for DPI. static float GetPangoScaleFactor(); // The average width of a character, initialized and cached if needed. |