[Resolved] Problems with Polish fonts

Home Forums Support [Resolved] Problems with Polish fonts

Home Forums Support Problems with Polish fonts

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #126246
    Daria

    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

    #126357
    Tom
    Lead Developer
    Lead Developer

    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 🙂

    #127252
    Daria

    Hi! Done and now everything’s OK. Thanks and cheers

    #127372
    Tom
    Lead Developer
    Lead Developer

    No problem!

    #1373346
    Giedrius

    Hello,
    And is there a way to add subset to non google font? But custom one?

    #1374027
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Not sure about that – I think the subset would be built into the custom font you’re embedding on the page.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.