Skip to content
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-4][varfont] Axis values outside of the min/max range defined in the font's fvar should be clamped, not ignored #647

Closed
PeterCon opened this issue Oct 25, 2016 · 3 comments
Labels
css-fonts-4 Current Work

Comments

@PeterCon
Copy link

In section 6.2 of the current CSS 4 Fonts draft, it says,

"axis values greater or less than the range supported by the font, are ignored and therefore have no effect"

However, the OpenType 1.8 spec gives different guidance to OT applications: that values be clamped to the range defined within the font. See the normalization algorithm given in the "Coordinate scales and normalization" section of the OpenType Font Variations Overview chapter.

@PeterCon PeterCon changed the title [css-fonts-4] [varfont] Axis values outside of the min/max range defined in the font's fvar should be clamped, not ignored [css-fonts-4][varfont] Axis values outside of the min/max range defined in the font's fvar should be clamped, not ignored Oct 25, 2016
@tphinney
Copy link

I have difficulty imagining any circumstance in which ignoring the value entirely would be preferable to clamping to the closest available value in the font. I hope the CSS 4 draft is adjusted to be closer to the OpenType spec.

@tabatkins tabatkins added the css-fonts-4 Current Work label Nov 1, 2016
@litherum
Copy link
Contributor

litherum commented Dec 1, 2016

Dup of #517

@litherum litherum closed this as completed Dec 1, 2016
@litherum
Copy link
Contributor

litherum commented Dec 1, 2016

It would be wise to migrate your comments to that thread.

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

4 participants