diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 19:52:53 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-25 19:52:53 +0000 |
commit | 15d278058d3c327b401916b96e202c4017fd55e9 (patch) | |
tree | 32aa75f70980848dea04ce2495bb69042523b62a /chrome | |
parent | b5725500cc18d292c98423441990b0c22efcbe30 (diff) | |
download | chromium_src-15d278058d3c327b401916b96e202c4017fd55e9.zip chromium_src-15d278058d3c327b401916b96e202c4017fd55e9.tar.gz chromium_src-15d278058d3c327b401916b96e202c4017fd55e9.tar.bz2 |
Gtk Font options: Separate font family and size by comma to work around Gtk issue.
BUG=19823
TEST=see bug
Review URL: http://codereview.chromium.org/173333
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24287 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/gtk/options/fonts_page_gtk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/options/fonts_page_gtk.cc b/chrome/browser/gtk/options/fonts_page_gtk.cc index e75369a..3f4941f 100644 --- a/chrome/browser/gtk/options/fonts_page_gtk.cc +++ b/chrome/browser/gtk/options/fonts_page_gtk.cc @@ -19,7 +19,7 @@ std::string MakeFontName(std::wstring family_name, int pixel_size) { // TODO(mattm): We can pass in the size in pixels (px), and the font button // actually honors it, but when you open the selector it interprets it as // points. See crbug.com/17857 - SStringPrintf(&fontname, "%s %dpx", WideToUTF8(family_name).c_str(), + SStringPrintf(&fontname, "%s, %dpx", WideToUTF8(family_name).c_str(), pixel_size); return fontname; } |