Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Support request] Adding google fonts with extended type set

Home Forums Support Adding google fonts with extended type set

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #373878
    Chris

    Hello,
    I’m facing a problem with displaying language-specific characters (Polish) when using Google fonts on mobile device (PC ok). I added the proper link to the font (including the subset=latin-ext part) into the header:
    <link href="https://fonts.googleapis.com/css?family=Dosis:200,300,400,500,600,700,800&subset=latin-ext" rel="stylesheet">
    but it still doesn’t work. Any similar experiences / ideas?

    GeneratePress 1.4
    GP Premium 1.4.3
    #431055
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    So sorry for not getting back to you sooner – we didn’t receive notification of this topic.

    Do you still need help with this?

    #575328
    Rafał

    Hi!
    Quick snippet for this:

    add_filter('generate_fonts_subset', 'inc_latin_ext');
    function inc_latin_ext() { 
    	return 'latin-ext';
    }

    Paste into your functions.php (in child theme folder).

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