You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 (c2sc) is incomplete, so at least this is already a known issue.
opentype feature c2sc means that capital letters will be replaced with small caps glyphs.
The feature smcp means that lowercase letters will be replaced with small caps glyphs.
The css property font-variant-caps: all-small-caps enables both of these opentype features so that every character will be a small cap, regardless of whether the original is upper or lowercase.
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.
Reacted by nilaallj, Ivan Kleshnin, Ludwig Stecher, Akbar Fadiansyah and Shankar Sivarajan
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 s2sc and smcp OpenType features. As @Apreche points out, web browsers will then manufacture small caps by approximation (AKA "faux" small caps) which will look quite bad but better than a mix of proper small caps and faux ones.
Reacted by Scott Rubin, Ivan Kleshnin, Akbar Fadiansyah, Cassidy James and Shankar Sivarajan
Activity
jhpratt commentedon Nov 24, 2023
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.
rben01 commentedon Nov 26, 2023
On https://rsms.me/inter/lab/?feat-c2sc=1, it is indicated that the small caps feature in v4.0 (
c2sc) is incomplete, so at least this is already a known issue.Apreche commentedon Dec 11, 2023
opentype feature
c2scmeans that capital letters will be replaced with small caps glyphs.The feature
smcpmeans that lowercase letters will be replaced with small caps glyphs.The css property
font-variant-caps: all-small-capsenables both of these opentype features so that every character will be a small cap, regardless of whether the original is upper or lowercase.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.
rsms commentedon Mar 23, 2024
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
s2scandsmcpOpenType features. As @Apreche points out, web browsers will then manufacture small caps by approximation (AKA "faux" small caps) which will look quite bad but better than a mix of proper small caps and faux ones.remove c2sc and smcp from aalt, re #630
Remove incomplete OpenType features c2sc and smcp. Closes rsms#630