-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-fonts] Access arbitrary points on a variable 'ital' axis via font-style
#3909
Comments
@PeterCon do you have thoughts? |
So Roslindale Variable Italic has three breakpoints(.25, .5, .75) between 0 and 1 on the The same effect would normally be achieved by stylistic sets. @davelab6 I guess you are reporting two problems:
It is certainly possible to change this, with The questions is whether we should, or whether this one font is more of an experiment (perhaps preparatory to an erratum on OFF and OpenType?) |
Adding support in |
I think it's important to maintain consistency with how static web fonts behave, so I would suggest that when authors specify |
@litherum I expect ital continuous axes to become common, actually. I don't think it's acceptable to say "this will always be uncommon so we shouldn't support it". The reason it is important to provide support for selecting any italic angle via font-style is that |
@davelab6 you can put font-variation-settings in your @font-face block. https://drafts.csswg.org/css-fonts-4/#font-rend-desc |
The Microsoft definition of the
ital
variable font axis (https://docs.microsoft.com/en-us/typography/opentype/spec/dvaraxistag_ital) says,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.The text was updated successfully, but these errors were encountered: