Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4885)

Unified Diff: chrome/common/gfx/chrome_font_win.cc

Issue 57025: Make the font family and the font size used in dom UI localizable. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/gfx/chrome_font.h ('k') | chrome/common/resource_bundle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/gfx/chrome_font_win.cc
===================================================================
--- chrome/common/gfx/chrome_font_win.cc (revision 12792)
+++ chrome/common/gfx/chrome_font_win.cc (working copy)
@@ -148,12 +148,6 @@
font_info.lfItalic = ((style & ITALIC) == ITALIC);
font_info.lfWeight = (style & BOLD) ? FW_BOLD : FW_NORMAL;
- if (style & WEB) {
- font_info.lfPitchAndFamily = FF_SWISS;
- wcscpy_s(font_info.lfFaceName,
- l10n_util::GetString(IDS_WEB_FONT_FAMILY).c_str());
- }
-
HFONT hfont = CreateFontIndirect(&font_info);
return ChromeFont(CreateHFontRef(hfont));
}
« no previous file with comments | « chrome/common/gfx/chrome_font.h ('k') | chrome/common/resource_bundle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698