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

Re: [csswg-drafts] [css-fonts-4] [varfonts] Specify variable font instances relative to an ”anchor point”

From: John Hudson via GitHub <sysbot+gh@w3.org>
Date: Tue, 27 Sep 2016 01:08:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-249740728-1474938484-sysbot+gh@w3.org>
As I understand, 'bolder' and 'lighter' simply step up and down 
through the coarse weight grid, and that should continue to work 
pretty much as it already does with a variable font weight axis.

I think what Tim is talking about is more like being able to express 
e.g. size for different levels of text as percentage of body size.  If
 the body type instance of a variable font is taken as the anchor 
(obviously, it doesn't need to be the body type) then it should be 
possible to express instances of other type in variable fonts relative
 to that anchor, such that if the anchor changes, e.g. because a 
change in device orientation increases the text size and line length, 
then the other type changes relative to that change.

The tricky thing, it seems to me, is coming up with a way to express 
design space positions relative to an arbitrary position, since the 
anchor instance could itself be anywhere in the design space. But I'm 
no kind of CSS expert nor, for that matter, any good at math.

GitHub Notification of comment by tiroj
Please view or discuss this issue at 
using your GitHub account
Received on Tuesday, 27 September 2016 01:08:14 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:03 UTC