-
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
Montserrat and -webkit-text-stroke overlapping #4212
Comments
Yup. This was working just fine three days ago and now a site that we use the font on is all goofy |
Same here on the main title: https://clearmortgage.com/meet-the-team |
Yes this just happened to a client's website. All primary headings were using -webkit-text-stroke and now they are rendering this weird bug. |
Ah this is not a bug from the font, very much sorry. We just onboarded an upgraded version of font that is now You will find more answers in this issue: rsms/inter#292 |
Was also having this issue. I can also confirm that downloading the static font @RosaWagner linked and using that will fix the issue. |
A substitution would be to use |
This is not working : "400: Invalid selector". You can't get the italics only with the weight axis range specified. Even the old syntax https://fonts.googleapis.com/css?family=Montserrat:400;400i;700;700i&display=swap seems to load the variable font, because I'm still getting overlapping strokes. So our only option here is to use a self-hosted static version ? |
The following setup is working for me now:
|
Issue still happening with v23 . |
Alright, I've finally bothered to make a test case, https://jsbin.com/movowohesu/edit?html,output. I'll open up an issue with webkit. |
Thanks Marc and sorry, should've known better and provide a test case. |
No problem! I understand this stuff is incredibly frustrating. |
How can I get the URLs for v15? |
I was using a URL that was overlapping the stroked text but thanks to @RosaWagner for sharing the solution :-). It worked for me. |
Since this is not a GF issue, I close it. If anybody have updates form webkit, please feel free to feed this thread. |
Just confirming here that using a self-hosted static version of the font and applying the stroke to it solved my problem with the |
…e 2022 on this font, had to use text shadow. see google/fonts#4212
If you are like me and are still having this issue and the text shadow hack is not good enough, you can use
this changes the behavior a slightly, but it will give you a text stroke without the overlap. |
You can see the issue by running https://www.html-code-generator.com/css/text-stroke-generator for Montserrat (a pretty popular font).
The text was updated successfully, but these errors were encountered: