Archived topic
Problems with Polish fonts
5 replies · Started by Anonymous on August 4, 2015
Hi Tom, I have problems with Polish fonts on the website again. Hard to say when the problem started but I had already experienced it in the past and you resolved it. Help please ;). Cheers, Daria
Hi there,
You may need to change the Google font subset to one of the options:
latin
latin-ext
menu
greek
greek-ext
cyrillic
cyrillic-ext
vietnamese
arabic
khmer
lao
tamil
bengali
hindi
korean
You can set them like this:
add_filter('generate_fonts_subset','generate_change_fonts_subset');
function generate_change_fonts_subset()
{
return 'latin-ext';
}
Just replace the value with the proper subset for Polish.
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
Let me know if you need more info :)
Hi! Done and now everything's OK. Thanks and cheers
No problem!
Hello,
And is there a way to add subset to non google font? But custom one?
Hi there,
Not sure about that - I think the subset would be built into the custom font you're embedding on the page.