On Tuesday 2006-07-11 22:26 +0000, Ian Hickson wrote:
> 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).

This still requires the user to re-adjust for each new broken page.  And
it also adds the requirement that they re-adjust for pages that use the
user's defaults.

User requirements for viewing text vary *widely*, depending on the
user's eyesight (which tends to vary with age) and the monitor
resolution and distance.  The user should be able to set a size and
actually have it be used.

> >  * 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.)

So the copyright text would be at the user's preferred size for reading
text.  I don't think that's a big problem.

> >  * 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.

I tend to agree, but the proposal I made for how to handle it makes the
two issues unrelated.  And I'd rather leave them unrelated.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Attachment: pgp4KPXgfKdbA.pgp
Description: PGP signature

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to