Hi! Could you please give me an aivce with this.
I’m using Google’s Opens Sans web font.
I’v tryed to force latin-extened adding ::latin-ext sufix in JS font loader. But it’s not working. Letters like čćžšđ are still showing up in dafault font.
<script>
WebFontConfig = {
google: { families: [‘Open Sans::latin,latin-ext’, ‘Open Sans::latin,latin-ext’, ‘Open Sans::latin,latin-ext’, ‘Vidaloka’] }
};
(function() {
document.getElementsByTagName(“html”)[0].setAttribute(“class”,”wf-loading”)
// NEEDED to push the wf-loading class to your head
document.getElementsByTagName(“html”)[0].setAttribute(“className”,”wf-loading”)
// for IE…
var wf = document.createElement(‘script’);
wf.src = (‘https:’ == document.location.protocol ? ‘https’ : ‘http’) +
‘://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js’;
wf.type = ‘text/javascript’;
wf.async = ‘false’;
var s = document.getElementsByTagName(‘script’)[0];
s.parentNode.insertBefore(wf, s);
})();
</script>