gecko-dev/mobile/xul/app
L. David Baron 774de62abb Implement computation of font size inflation for improved readibility of text on mobile devices. (Bug 627842, patch 4) r=roc
This implements computation of the font size inflation factor for a
given frame.  Since Fennec does layout using a fake viewport whose width
represents a typical viewport width on the desktop and then allows users
to pan and zoom, fonts are not always readable even when zoomed.  The
goal of this font size inflation is to ensure that when a block of text
is zoomed to fill the width of the device, the fonts are large enough to
read.  We do this by increasing the font sizes in the page.  Since this
increase is a function of the width of the text's container, the
inflation must be performed (in later patches in this series) after
style data computation and after intrinsic width computation.

The font size inflation factor does not vary *within* a block.

Since sync uses a whitelist (the services.sync.prefs.sync.* prefs) for
preferences (i.e., preferences are not synced by default), this patch
does not make any changes relating to sync, since we do not want the
inflation preferences synced across devices (since preferred settings
are likely to be device-specific).
2011-11-23 18:48:23 -08:00
..
android
macbuild/Contents
maemo
profile/extensions
Makefile.in Bug 686466 part 3 - Use a pre-generated nsXREAppData struct instead of application.ini. r=ted,bsmedberg 2011-11-22 08:05:59 +01:00
mobile.ico
mobile.js Implement computation of font size inflation for improved readibility of text on mobile devices. (Bug 627842, patch 4) r=roc 2011-11-23 18:48:23 -08:00
nsBrowserApp.cpp Bug 686466 part 3 - Use a pre-generated nsXREAppData struct instead of application.ini. r=ted,bsmedberg 2011-11-22 08:05:59 +01:00