-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add check for slnt values are within a common but unintuitive range #2572
Comments
Found this in google/fonts#1908 |
@davelab6 (You are correct – thank you for bringing this to my attention! I'm just not exactly sure where the best place is to ask questions around this spec, so maybe you could point me in the right direction). I suspect this will cause a lot of user confusion, particularly because the CSS spec for
https://drafts.csswg.org/css-fonts-4/#font-style-prop This can't really change in the CSS spec, because many things in CSS follow a clockwise orientation, such as "top-right-bottom-left" values for margin, padding, borders, etc. Also, of course, for anyone writing in a left-to-right language or familiar with analog clocks, it's hard to predict that a negative value would make letters slant rightward. I imagine a primary difficulty with changing the OT spec is that many fonts have already been produced with this unintuitive value for How unchangeable is the OT spec? Would a change like this have to wait for OT 1.9 or 2.0? Is there somewhere better I can complain about this? |
The variable font 'slnt' (Slant) axis coordinate specifies positive values in its range? (issue fonttools#2572)
- **[com.google.fonts/check/wdth_valid_range]** => com.google.fonts/check/varfont/wdth_valid_range - **[com.google.fonts/check/wght_valid_range]** => com.google.fonts/check/varfont/wght_valid_range (issue fonttools#2572)
- **[com.google.fonts/check/wdth_valid_range]** => com.google.fonts/check/varfont/wdth_valid_range - **[com.google.fonts/check/wght_valid_range]** => com.google.fonts/check/varfont/wght_valid_range (issue fonttools#2572)
The variable font 'slnt' (Slant) axis coordinate specifies positive values in its range? (issue #2572)
- **[com.google.fonts/check/wdth_valid_range]** => com.google.fonts/check/varfont/wdth_valid_range - **[com.google.fonts/check/wght_valid_range]** => com.google.fonts/check/varfont/wght_valid_range (issue #2572)
Observed behaviour
I just saw a VF that has a
slnt
axis that is currently ranged from0.0
to15.0
but sadly https://docs.microsoft.com/en-us/typography/opentype/spec/dvaraxistag_slnt says,That means the range should be
0.0
to-15.0
Expected behaviour
We should check for
slnt
axes with positive values andWARN
if they are encountered, because such values are intended for 'back slanted' designs.The text was updated successfully, but these errors were encountered: