W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2016

Re: [csswg-drafts] [css-fonts] Specifying changes to parameters for fallback fonts

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 23 May 2016 18:26:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-221054315-1464028004-sysbot+gh@w3.org>
I agree with the problem statement, it's definitely valid. But there 
are some issues with the proposed solution:

* it makes font-size a list-valued property, which is a change we 
could make but still something new.
* BUT, the font-size ratio between fonts is probably constant across 
sizes, so having to write out a whole list of font-sizes every time 
you want to change the size of an element is a lot of wasted work (and
 makes the default HTML styles hostile; use your font in an `<h2>` or 
`<small>` and it gets messed up unless you specifically override it). 
You instead probably want a list-valued font-size-ratio property.
* BUT there's no way to line that up with the fallback font, which 
displays at some unknown size relative to the other fonts
* ALSO, font-size isn't the only thing you want to control; I've heard
 people want to coordinate weight or spacing between different fonts 
to get a consistent look.

The third point is probably unaddressable and we just need to leave 
it; that's just a fallback issue anyway and shouldn't get hit by 
well-designed content in normal circumstances.  The rest, tho, suggest
 that the solution is higher than the property level and probably 
needs to be addressed either thru @font-face, or a new at-rule better 
suited for constructing a composite fallback-list with control over 
all the aspects at each point.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/126#issuecomment-221054315 
using your GitHub account
Received on Monday, 23 May 2016 18:26:47 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:58 UTC