-
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
Inter: After a serie of "@", "(", or ")" and a capital letter, the tail shifts up #7258
Comments
My guess is that Inter might be applying the OpenType Layout ‘case’ feature contextually, rather than relying on software to trigger the feature in all-caps settings. This is causing the raised glyphs for parentheses and @ symbol to be triggered in some situations where not appropriate. |
Is there anything I can do to fix this bug besides switching the font? |
Easiest to see with * instead of @ ( ). Also happens if the ending character is ? https://fonts.google.com/specimen/Inter?preview.text=******************%3F |
Applying the following CSS works around this issue: font-feature-settings: 'calt' 0; Edit: Full disclosure, I didn't come up with this, my friend @jonathanpotts found this: toeverything/AFFiNE#4727 |
@The-MAZZTer that is what I was going to say :) I think its an upstream issue so closing here and directing your attention to rsms/inter#737 |
Describe the bug
If you type a serie of "@", "(', or ")" (you may mix them), and a capital latin letter, the tail of the line shifts up (doesn't work with other punctuation characters or lowercase letters).
To Reproduce
Expected behavior
The baseline of each letter in the line should be equal.
Screenshots
Additional context
OS: Windows 10 x64
Browser: Chrome 121.0.6167.140 64-bit
The text was updated successfully, but these errors were encountered: