-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Axis Registry: slant axis #2606
Comments
Just to follow up on the conversation of this issue : googlefonts/gftools#295 so axis registry stuff are gathered in that repo. To resume:
From that we can advise to NOT treat slant axis as an ital axis, but as a complete "Roman" font with an additional axis like width or whatever (ie. no italic style linking). If possible, fallbacks could be:
IF presence of "italic/cursive" alternates:
IF you really want to have your slanted font as the "italic" of your upright styles, slant is therefore treated as usual italic:
|
suggestion from call with Dave and Marc:
cc @m4rc1e @davelab6 @vv-monsalve @thundernixon @tphinney @eliheuer |
Not completely as we would not change Recursive and Inter which are already onboarded. But going forwards :)
I believe we have no exceptions to that already, so that works well.
What about backslanted slant names, as we avoid the minus in style particles because it is used as the family-style separator? |
So, I agree that problems persist with the way
To make a decision about if we are good to proceed with that, what else do we need to know? |
SLOP could be accurate to how linear interpolation works, becuase the |
are all factors that are going to trigger (independently) some kind of style linking behaviour when clicking on the Italic button in desktop apps (in a very inconsistent way). Browsers and App should debug it obviously, for now I can't see how a font could have both axes without creating any conflict. Word Mac is extremely buggy in that regard. |
Until we take a decision, we can do as Marc was suggesting last time:
I link here all kind of tests that I made, you can jump directly to the conclusion part: https://gist.github.com/RosaWagner/f59cdc52e007913042f3f826a94d1f4f |
Sounds good. The advantage of deg values as fallbacks is it would allow negative and positive slope values while avoiding the
In a range that goes from -90 to +90, how many of them would need to be registered? So far, they still determine the number of static ttf instantiated.
Just saw this. Would it be possible to use one ASCII separator (e.g backslash, FamilyName\8deg.ttf)?. An |
Even for SLOP axis? From your Slant Test Case, it seems a scenario of On the flip side, would the Test 6 case prevent us from using the SLOP axis? |
Indeed Test 6 is showing that wether we have a slnt or a SLOP axis, instances can only be weight styles in Roman and Italic. I wouldn't stop designers to have a slant axis as long as conditions mentioned are completed (no slnt values in stat, no slanted/italic instances in fvar) so we can upgrade them when the time comes. But would give the opportunity to create at least 'sloped' families with degrees suffix. Instead of 0deg, 8deg, -8deg, we could have 90deg, 82deg, 98deg like the guidelines in Glyphs (the counter-clockwise thing is a bit counter-intuitive though for primates like me though) |
Agree on everything, including this one. It would be counter-intuitive for most users as it could be hard to picture what a possible 105deg would be. Hopefully, the |
Little update on my last testing with continuous slant/ital axis in Windows. ITAL = 1
ITAL=-12
SLNT=-12 The support is kinda similar for all cases in Mac. So for conventional families with a one-direction leaning "slant" axis (which would associate a slanted value to an italic instance), I would recommend a continuous ital axis with [0-1] range (which is uncommon but allowed by OT Spec). We can slice them for now, and add support in gftool for making it easier (cf googlefonts/gftools#627). I am confident that in a distant future we could re-assemble them to deliver a VF with continuous ital axis without breaking the Internet (which would not be the case with a slant axis). Although, slant axis is more in use on the web, and the proper way would be to have better support for it instead of searching for workarounds… |
https://github.com/google/fonts/blob/4bd3c05add902033e8d9e7f0c6258bf67e9a4814/axisregistry/slant.textproto has only a fallback for
0
, but @tphinney points out that a users of a family with a slnt would benefit from named style access to at least one slanted style. This will vary per family.The text was updated successfully, but these errors were encountered: