-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Small caps broken in v4.0 #630
Comments
A quick search shows that small-caps isn't technically supported (see #32), even if it did work quite well in the previous version. I don't know the technical cause behind the regression, but a big 👍 for it being (semi-)supported. In the meantime, I'm continuing to use v3.19 in places where small-caps may be used. |
On https://rsms.me/inter/lab/?feat-c2sc=1, it is indicated that the small caps feature in v4.0 ( |
opentype feature If a font does not support these features, the browsers will take the uppercase glyphs and automatically scale them to create fake small caps. That appears to be what is happening in v3. This is undesirable mostly because the strokes are too light. If you look at it next to a font with proper small caps, you can see it's not great. That's why it's nice to have a font with proper small caps. What appears to have happened in v4 is they have started working on #32 and implemented some of the small caps properly, but not all of them. I think what is happening is that the browsers see that at least some small caps are implemented in the font, so they disable their fake small caps autoscaling function. That explains the mixed bag of upper and lowercase. I'm very happy that proper small caps are being worked on. However, if my evaluation of this issue is correct, they should not be included in a release until all of them are done. Including just a few creates this broken functionality that's even worse than the fake auto-scaled small caps. |
Inter does not support Small Caps (as of v4.0.) Hopefully proper support will be added in a future version. For now, what we can do it to remove the |
Describe the bug
font-variant-caps: all-small-caps
broken on v4.0To Reproduce
Steps to reproduce the behavior:
font-variant-caps
with the valueall-small-caps
Expected behavior
All characters being capitalised and then scaled down to the intended small-caps size
Screenshots
Environment
The text was updated successfully, but these errors were encountered: