Skip to content

[css-fonts-4] [varfont] Small variation ranges in @font-face descriptors should limit the effective range for the font #782

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

Closed
litherum opened this issue Dec 1, 2016 · 1 comment
Labels
css-fonts-4 Current Work

Comments

@litherum
Copy link
Contributor

litherum commented Dec 1, 2016

Migrated on behalf of @behdad from #517 (comment)

If @font-face declares a range narrower than what the font supports, then browser should clamp to the @font-face range indeed, even though the font supports wider.

@litherum
Copy link
Contributor Author

litherum commented Dec 1, 2016

Migrated on behalf of @svgeesus from #517 (comment)

Yes, this would be consistent with what we do with unicode-range for example - if the descriptors have a narrower range than what the font actually supports, then we enforce those restrictions. Because the stylesheet designer had some reason to do so (not liking glyphs in a particular unicode range / not liking the bolder weights so preventing them from being used).

@litherum litherum changed the title [css-fonts-4] [varfont] [css-fonts-4] [varfont] Small variation ranges in @font-face descriptors should limit the effective range for the font Dec 1, 2016
@litherum litherum added the css-fonts-4 Current Work label Dec 1, 2016
litherum pushed a commit that referenced this issue Mar 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-fonts-4 Current Work
Projects
None yet
Development

No branches or pull requests

1 participant