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

Re: [csswg-drafts] [css-fonts-4] [varfont] Values in font-variation-settings should be normalized 0.0 - 1.0

From: Jason Pamental via GitHub <sysbot+gh@w3.org>
Date: Wed, 05 Oct 2016 23:47:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-251831634-1475711246-sysbot+gh@w3.org>
It seems like it's best to treat the number range as analogous to 
'thinnest to thickest' or 'narrowest to widest'; i.e. if we used a 
1-999 range (or whatever it is we choose), the midpoint should be 
whatever is the 'reference' shape of the glyph. That way the  
'default' value would be 500, and 1 would correspond to the 
thinnest/narrowest/shortest/etc, 999 being the opposite end of the 
spectrum. 

I'm curious if there's a notion of 'named deltas' to be able to call 
the 'Black' weight in the spec, and if so could we expose that and/or 
associate it in our css?

Thinking of something like:

font-family: variablefontname;
font-style: normal;
font-weight: heavy;
(instead of font-weight: 999)

[just saw that @litherum just opened up #574 related to this]


-- 
GitHub Notification of comment by jpamental
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/573#issuecomment-251831634 
using your GitHub account
Received on Wednesday, 5 October 2016 23:47:34 UTC

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