On Tue, 11 Jul 2006, L. David Baron wrote:
>
> For Gecko 1.9, I'd like to try to make the font size preferences
> meaningful. 

See my proposal from several years ago:

   http://hixie.ch/specs/css/font-size-ui/font-size-ui

Basically it integrates font size scaling with the page zoom, and does 
away with the "font size pref" (setting it to 16px for all fonts).


>  * we enforce that preference by making scaling all pages so that the
>    25th (roughly) percentile sized text on a page is sized to be at
>    least as large as the preference (bug 31961).  This should be
>    implemented at a pretty low level (e.g., text frames, perhaps after
>    checking visibility).

I would imagine this would cause all kinds of strange effects. e.g. 
consider what it would do to a page that only contained only a flash image 
and its copyright, in small text. (Interestingly, the suggestion I made 
above actually would even handle pages with no text at all.)


>  * To handle separate language-group and fixed-vs.-proportional
>    font size preferences, what we actually do is (instead of
>    accumulating the actual font sizes and comparing to the preference at
>    the end) accumulate actual-to-preferred ratios and look at the
>    appropriate percentile of those ratios.

I would recommend doing away with this altogether, at the very least doing 
away with the monospace-vs-proportional nonsense. I've been browsing the 
Web with all my fonts set to 16px for years and it looks fine.


>  * How often do we want to resize during incremental loading?

Never (or once, but before you paint anything).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to