gecko/modules/libpref
L. David Baron 3917f9c2e1 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
..
public Bug 698217 Simplify new static Preference methods r=roc 2011-11-06 19:27:56 +00:00
src 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
test Bug 671576 - Cleanup temporary files from test_libPrefs.js. r=bsmedberg 2011-07-21 09:57:07 +02:00
Makefile.in