-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
q is slanted the wrong way #198
Comments
I can verify this is also the case with macOS 10.14.6 using Inter.var.ttf, at least in the following apps:
The problem does not occur in Firefox (70.0b6), but this is likely because Firefox can't slant the two-way variable font at all. The problem is not present in Inter-italic.var.ttf. My guess is that the problem is the result of the q glyph just being a mirror of the p glyph, and the two-way variable font not accounting for the mirroring when applying the slant. Now whether this is a macOS bug or a bug in the font itself, I can't say. |
I can report that this problem also exists on Chrome OS 76.0.3809.136, suggesting either the bug is shared between macOS and Chrome OS (and presumably all Freetype-based font rendering implementations) or it is a font bug. |
I also experience the bug on Windows 10 in both Firefox Beta 70.0b9 and Chrome Dev 78.0.3904.17. Microsoft Edge 44.18362.329.0 does not show the bug. |
Right, mirrored components don't work as expected with transformations. I'm not sure of the precise reason for this, but basically, it just is treated as a reference to the "parent" glyph, and mirrors that glyph's transformations. This regressed between release There is a function in the From what I can tell by adding print statements into |
This was a regression introduced in a recent upgrade of one of the 3rd party libraries used by fontbuild (fontmake). Here is a build from master as is at the time of writing this comment. |
New release is out that includes a fix: https://github.com/rsms/inter/releases/tag/v3.11 |
Describe the bug
To Reproduce
https://rsms.me/inter/lab/?varWeight=490&varSlant=10&varfont=1
Environment
The text was updated successfully, but these errors were encountered: