Enable font size inflation for Android native mobile browser. (Bug 627842, patch 18)
authorL. David Baron <dbaron@dbaron.org>
Thu, 24 Nov 2011 15:40:14 -0800
changeset 81966 ce03d0240a309a9e208c2c3a5723ead7455f861e
parent 81965 e7d55d6a898563639390d131728688995ac73622
child 81967 2aec00aaf211540e8916a7820e208d1ad5ea7136
push idunknown
push userunknown
push dateunknown
bugs627842
milestone11.0a1
Enable font size inflation for Android native mobile browser. (Bug 627842, patch 18) This applies the same patch made to the default preferences of XUL fennec (mobile/xul/app/mobile.js) in Bug 627842, patch 4 (changeset d3e230bec2f9, r=roc) to the default preferences of Android Fennec.
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -415,16 +415,18 @@ pref("browser.ui.kinetic.polynomialC", 1
 pref("browser.ui.kinetic.swipeLength", 160);
 
 // zooming
 pref("browser.ui.zoom.pageFitGranularity", 9); // don't zoom to fit by less than 1/9 (11%)
 pref("browser.ui.zoom.animationDuration", 200); // ms duration of double-tap zoom animation
 pref("browser.ui.zoom.reflow", false); // Change text wrapping on double-tap
 pref("browser.ui.zoom.reflow.fontSize", 720);
 
+pref("font.size.inflation.minTwips", 160);
+
 // pinch gesture
 pref("browser.ui.pinch.maxGrowth", 150);     // max pinch distance growth
 pref("browser.ui.pinch.maxShrink", 200);     // max pinch distance shrinkage
 pref("browser.ui.pinch.scalingFactor", 500); // scaling factor for above pinch limits
 
 // Touch radius (area around the touch location to look for target elements),
 // in 1/240-inch pixels:
 pref("browser.ui.touch.left", 8);