Hi,
I am using speed booster and when speed booster is activated, font declarations are taken to the bottom section of the page.
Normally when speed booster is not active a font declaration is encoded and has “extended” properties:
and non-latin, extended characters are being rendered fine. But when I activate the booster, the font declaration at the bottom of the page becomes non-encoded and no declaration for extended non-latin characters:
http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700
Any tips to sort this out?
Hello,
thanks for the feedback, I tottaly forgotton about this.
When the plugin is activated the theme loads a different font declaration. You can find it here: http://screencast.com/t/QPEYRSX4yh
edit the collection and update that url.
Is this an ok solution? We need a smarter google fonts class.
Hi Radu, i have similar problem about that.
I added &subset=latin,latin-ext to the end of declaration as you can see below:
wp_enqueue_style(‘google-font-rest’, td_global::$http_or_https . ‘://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700&subset=latin,latin-ext’); //used on menus/small text
but it is not worked for me.
Before i add &subset=latin,latin-ext my web site looking like this:
http://i.imgur.com/fkHd8L6.jpg ( some problems with ş,ğ)
After i add &subset=latin,latin-ext to the end of declaration, my web site looking like this:
http://i.imgur.com/h8sOEqd.jpg
Thanks for answering Radu
Have a nice day.
@sanalsantiye
It seems to have worked to me. If you look carefully at the menu, you can see turkish characters looking nice.
hi Sanalsantiye,
probably ‘ latin,latin-ext ‘ is not what you need, you need some other encoding.
you can go to google fonts, and try different combination of charset parameters.
Question: is before was ok, why change it? or it wasn’t?
Thanks for you message.
Radu A.
In first photo, it was not ok because of “ğ, ş..” chars. If you look the second photo carefully, you can see fonts are not same with “before” photo. And the other problem is a line came under block header.(which named “sosyal aglarda biz” and “populer icerikler” block)
Thanks