Hi.

This post made me start thinking about font sizing, but as a newbie 
(compared to you guys), I don't think I completely understand your 
proposals, but I came up with an algorithm like this...

As we all know, CSS 2.1 specifies the font size keywords from 'xx-small' to 
'xx-large', with the 'medium' value as the user's preferred font size.  It 
would seem to me, the important and pivotal value here is actually that 
preferred 'medium' default.  The full range of sizes can really be divided 
into two ranges, those 'larger than the default', and those 'smaller than 
the default', with the latter range generally being the problematic one.

I would give the user the ability to configure their preferred default 
('medium') and minimum font sizes.

For any web page, I would calculate all the 'computed' font sizes based on a 
default (out-of-the-box, totally unconfigured by the user) font size setup. 
I would then scale all the computed sizes linearly, based on the percentage 
adjustment of the default (out-of-the-box) font size that the user made when 
setting their preference.  Then, if the smallest computed size is greater 
than the users specified minimum, I wouldn't further adjust anything.  Else, 
if any of the computed sizes are below the users minimum size, I would scale 
up all computed sizes in the 'smaller than default' range equally, so that 
those sizes then range from the users minimum up to the default (ie, 
compress the lower computed range to fit the preference range).

I would keep the hotkeys and menu for adjusting the users preferred default 
size.

-- 
Chris Hubick
mailto:[EMAIL PROTECTED]
http://www.hubick.com/



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

Reply via email to