Skip to content
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 - Capital 'A' not showing correctly #417

Closed
tayloraucoin opened this issue Jan 24, 2022 · 7 comments
Closed

Inter - Capital 'A' not showing correctly #417

tayloraucoin opened this issue Jan 24, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@tayloraucoin
Copy link

tayloraucoin commented Jan 24, 2022

Duplicate of Glitch with Exo 2 uppercase A, B, D, Å, Ä letters since version 4.4.0+, works in 4.3.0 but for Inter font:
#243

Inter is mentioned in the comments there but it is never addressed

Related to: google/fonts#2602

Tried importing "@fontsource/inter/variable.css" and "@fontsource/inter/variable-full.css" without any behaviour change

Latest version "@fontsource/inter": "^4.5.1"

@tayloraucoin tayloraucoin added the bug Something isn't working label Jan 24, 2022
@AlexanderZeilmann
Copy link

AlexanderZeilmann commented Jan 31, 2022

Jost is another font that has this problem:

Bildschirmfoto 2022-01-31 um 15 28 43

At least for Jost, using the variable version of the font fixes the problem.

@ayuhito
Copy link
Member

ayuhito commented Feb 6, 2022

I'm pretty unsure since it seems that even the variable font version of Inter is also affected by this. It's something that the upstream issue in Google has to resolve over anything I can do.

@tayloraucoin
Copy link
Author

@DecliningLotus from what you know, this there anything that I can do as a developer to make sure that my site can render this letter properly?

How is this such a big global issue that is not being resolved?

Is there somewhere I can monitor the progress on the issue?

@ayuhito
Copy link
Member

ayuhito commented Feb 9, 2022

@tayloraucoin, keeping track of google/fonts#2602 is where you can monitor progress on this matter. I believe the true root of the issue is google/woff2#123.

There is a solution for this. It's embarrassing to say considering Fontsource is all about making self-hosting easy, but the official release for Inter on rsms/inter does not have the bug. You could still self-host if you download it from there. rsms/inter#302 (comment)

This is where it becomes awkward for me. I leave Google Font bugs up to Google to fix themselves and let Fontsource mirror it all. It's not in my interest to add more maintenance to the Fontsource repo by writing new code to support exceptions like these and manually patching fonts due to their sometimes incompatible build process. I just don't have the time to spare for that.
In the end, it's up to Google to sort this out.

@chrisguttandin
Copy link
Contributor

I don't know if this helpful in any way but in case of "Montserrat" the problem does not occur when using the font directly from Google. Maybe that means it's already fixed?

I created a StackBlitz project which uses the font from Google Font.

https://web-platform-8h8bxp.stackblitz.io
https://stackblitz.com/edit/web-platform-8h8bxp

And another one which uses the font from the fontsource package. (I had to create an Angular project to be able to include the files from the node_modules directory.)

https://angular-ivy-urpsfp.stackblitz.io
https://stackblitz.com/edit/angular-ivy-urpsfp

@ayuhito
Copy link
Member

ayuhito commented Feb 11, 2022

@chrisguttandin, Google does two things to my knowledge, I think.

  • If your browser is modern enough, it will serve you the variable variant of the font which doesn't have the issue present even in Fontsource (except Inter oops).
  • Otherwise, Google serves the much larger WOFF file to specific Mac users, because the issue derives from the WOFF2 file format itself. Since Google can dynamically serve different CSS depending on the user-agent of the browser, they can "fix" or should I say hide most of the problem for those affected Mac users until a proper solution is figured out.

@chrisguttandin
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants