Index: chrome/browser/renderer_preferences_util.cc |
diff --git a/chrome/browser/renderer_preferences_util.cc b/chrome/browser/renderer_preferences_util.cc |
index 7c66eb275f001d323f1c55bb8d09612e2cf53708..5166a9949a6da3f8096a16423abcedae72df4994 100644 |
--- a/chrome/browser/renderer_preferences_util.cc |
+++ b/chrome/browser/renderer_preferences_util.cc |
@@ -50,6 +50,12 @@ void UpdateFromSystemSettings( |
prefs->active_selection_fg_color = SK_ColorBLACK; |
prefs->inactive_selection_bg_color = SkColorSetRGB(0xEA, 0xEA, 0xEA); |
prefs->inactive_selection_fg_color = SK_ColorBLACK; |
+#elif defined(OS_ANDROID) |
Daniel Erat
2012/06/14 23:44:20
You need to sync and merge this file; it's changed
Xianzhu
2012/06/15 00:05:00
Sorry I overlooked your newest change. It's great
|
+ // Use subpixel text positioning to keep consistent character spacing when |
+ // the page is scaled by a fractional factor. |
+ prefs->use_subpixel_positioning = true; |
+ // Slight hinting renders much better than normal hinting on Android. |
+ prefs->hinting = content::RENDERER_PREFERENCES_HINTING_SLIGHT; |
#endif |
prefs->enable_referrers = |