Archived topic
Adding google fonts with extended type set
2 replies · Started by Krzysztof on August 26, 2017
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?
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?
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).