[csswg-drafts] [css-fonts] Access arbitrary points on a variable 'ital' axis via `font-style` (#3909)

davelab6 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-fonts] Access arbitrary points on a variable  'ital' axis via `font-style` ==
The Microsoft definition of the `ital` variable font axis (https://docs.microsoft.com/en-us/typography/opentype/spec/dvaraxistag_ital) says, 

> Valid numeric range: Values must be in the range 0 to 1.
> 
> Scale interpretation: A value of 0 can be interpreted as “Roman” (non-italic); a value of 1 can be interpreted as (fully) italic.
> 
> ...
> 
> The Italic axis can be used as a variation axis within a variable font, though this is not expected to be common.
> 
> The Italic axis is distinct from the Slant axis ('slnt'). Fonts may use one or the other, depending on the nature of the design, but should rarely use both. 

While "not expected to be common" and "should rarely use both" are niceties, there are now such fonts in the wild (eg https://djr.com/roslindale/ - see https://v-fonts.com/fonts/roslindale-variable-italic) 

Therefore the current definition of https://www.w3.org/TR/css-fonts-4/#font-style-prop has a problem, because `font-style` cannot access arbitrary points on a variable  'ital' axis. 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3909 using your GitHub account

Received on Friday, 10 May 2019 16:32:54 UTC