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

Unified Diff: chrome/browser/chromeos/input_method/candidate_window.cc

Issue 5180002: Adjust default font sizes for new hand hinted fonts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: introduce CROS_HAND_HINTED_FONTS define, fix oobe/login buttons, dropdowns Created 10 years, 1 month 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
Index: chrome/browser/chromeos/input_method/candidate_window.cc
diff --git a/chrome/browser/chromeos/input_method/candidate_window.cc b/chrome/browser/chromeos/input_method/candidate_window.cc
index 516762990b453e8bf799620e3759cd00b478fa34..a6c0e0d319cced30d18b19d959a66824e22dfe18 100644
--- a/chrome/browser/chromeos/input_method/candidate_window.cc
+++ b/chrome/browser/chromeos/input_method/candidate_window.cc
@@ -46,7 +46,11 @@ const SkColor kAnnotationColor = SkColorSetRGB(0x88, 0x88, 0x88);
// We'll use a bigger font size, so Chinese characters are more readable
// in the candidate window.
-const int kFontSizeDelta = 2; // Two size bigger.
+#if defined(CROS_HAND_HINTED_FONTS)
+const int kFontSizeDelta = 1;
+#else
+const int kFontSizeDelta = 2;
+#endif
// The minimum width of candidate labels in the vertical candidate
// window. We use this value to prevent the candidate window from being

Powered by Google App Engine
This is Rietveld 408576698