This topic has 5 replies, 2 voices, and was last updated 9 years, 7 months ago by Anonymous.
Viewing 6 posts - 1 through 6 (of 6 total)
Hello,
I want to add support for local character map (Poland) by using fonts with latin-ext. I’ve tried to add line like mentioned in this post:
(iva-googlefont.php file) but whatever I did it was causing issues with all existing fonts. Does adding “&subset=latin,latin-ext” in mentioned file like in mentioned thread should also work correctly?
Thanks
https://fonts.google.com/?subset=latin-ext These are the fonts which supports Latin Characters. Use the fonts which supports Latin characters, after that find the font which you wish to use and in last you need to add like this &subset=latin,latin-ext
I wanted to use Bree Serif which I’ve selected in theme configuration and changed line:
array( 'name' => "Bree Serif", 'variant' => ''),
to
array( 'name' => "Bree Serif", 'variant' => '&subset=latin,latin-ext'),
with or without “&” it breaks all fonts in wordpress. This is related to having url like this one:
http://fonts.googleapis.com/css?family=Ubuntu:400,500,700|Bree+Serif|Ubuntu:400,500,700|Lato:400,300,700,900,400italic,700italic,900italic&subset=latin,latin-ext
which generates error on google site.
IMHO URL should be generated like this one:
http://fonts.googleapis.com/css?family=Ubuntu:400,500,700|Bree+Serif|Ubuntu:400,500,700|Lato:400,300,700,900,400italic,700italic,900italic&subset=latin,latin-ext
with subset at the end of query string.
Before sending this post I’ve checked my suspicions and it looks like adding at the end of google fonts php file line:
$eventra_google_font_url = $eventra_google_font_url."&subset=latin,latin-ext";
return $eventra_google_fonts;
fixed my problem.
We are setting this topic to be resolved. If you wish to update this topic please reply here instead of creating another topic.
Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.