-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
latin-ext subset for google fonts #1630
Comments
We will release this on |
You are the best! Thank you :) |
The same must be done for Romanian It's working on most of the browsers without latin-ext, but for some reason in microsoft edge browser needs this latin-ext. Thanks! |
It should be also added for Croatian And also for the following languages, but I'm not sure about the correct locale codes (this is per https://stackoverflow.com/a/28357857): Serbian Slovenian Bosnian |
Please make the same for Hungarian Please add: |
... aaaand Or possibly a filter hook for subsets? |
Any update regarding implementation of google font subsets? |
This line must be added too for Turkish. We always need the latin-extended. |
This issue has been resolved in Elementor v3.0 Feel free to update Thanks! |
I have Elementor v3.1.4 and the issue with Slovenian ('sl_SI' => 'latin-ext',) persists. Is there a setting I'm missing? |
Still no fix for Slovenian. Pretty dissapointing. |
It just hasn't been completed for romanian. |
In Czech we use characters like "ščřž..." that are not embeded in standard "latin" subset in google fonts.
So if I use Open Sans font in my headlines and elementor only embeds "latin" subset, all of the "ščřž..." characters are replaced with system sans-serif font and it looks ugly.
There are already cyrillic, hebrew, greek and vietnamese subsets in print_google_fonts() function in includes/frontend.php. Is it possible to add one more line
'cs_CZ' => 'latin-ext',
to the $subsets array, so it looks like this?$subsets = [
'ru_RU' => 'cyrillic',
'bg_BG' => 'cyrillic',
'he_IL' => 'hebrew',
'el' => 'greek',
'vi' => 'vietnamese',
'uk' => 'cyrillic',
'cs_CZ' => 'latin-ext',
];
The text was updated successfully, but these errors were encountered: