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
How did you obtain or generate the font files included with this theme?
To fix the issue but avoid leaking my visitors' IP addresses to either googleapis.com or github.io, I copied the CSS from indestructible-type and downloaded all the WOFF/WOFF2 files that the CSS references. The downloaded files are noticeably different from the ones you included in the theme:
The theme has 1/3 the number of font files:
$ ls -1 themes/adidoks/static/fonts/vendor/jost/ | wc -l
12
$ ls -1 static/fonts/vendor/jost/ | wc -l
36
The theme's font files have v4 in their names but the upstream repo, indestructible-type/Jost, is only on version 3.7.
The theme's font files are much smaller:
$ du -hs themes/adidoks/static/fonts/vendor/jost/ static/fonts/vendor/jost/
164K themes/adidoks/static/fonts/vendor/jost/
1.2M static/fonts/vendor/jost/
The font included with this theme contains an uppercase "A" character that does not display correctly on all operating systems and browsers.
Here's how it looks on my system:
![image](https://user-images.githubusercontent.com/6289033/158096583-50256707-c032-4836-8748-fd3f7f01aee6.png)
The issue is described in this ticket:
google/fonts#2602
Replacing
@import "common/fonts";
with either of the following causes it to render correctly:(For the second URL, I also had to change the font name in
_variables.scss
to "Jost*".)After making that change, the font displays correctly:
![image](https://user-images.githubusercontent.com/6289033/158097063-0be8fe6c-6984-4ad8-9728-621e615427d4.png)
The text was updated successfully, but these errors were encountered: