Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #314715

    Hi. I’m using Open Sans font on my entire website.

    Unfortunately, on some computers (including my client’s computer) the font is missing polish national characters – they get substituted by squares or by glyphs from another font:
    http://oi62.tinypic.com/2qnxeko.jpg

    It seems that the problem occurs, when someone already has the font installed on their computer, but some version which is missing the polish characters.

    How can I fix this? Is there any way to force the browser to use the webfont?

    #315309

    Hey!

    I’m not noting the issue but try adding this at the very end of your theme / child theme functions.php file:

    function add_subset_func($fontlist) {
    	$fontlist .= "&subset=latin,latin-ext";
    	return $fontlist;
    }
    add_filter('avf_google_fontlist', 'add_subset_func');
    

    Cheers!
    Josue

    #315451

    Thanks for your reply!
    I’ve modified functions.php, as you suggested, but the problem still occurs:(
    Do you have any other ideas?

    I’m able to reproduce that problem on my computer by installing the limited version (lacking the latin-ext subset) of the font in my system (windows 7):
    https://www.dropbox.com/s/386auuoooukephf/OpenSans-Regular-webfont.ttf?dl=0

    With the .ttf file installed in C:\Windows\Fonts directory, some browsers seem to prefer it over the webfont provided in css. As you can see the header is not displayed correctly in IE and Firefox:
    http://oi61.tinypic.com/2qiwvoh.jpg

    #315488

    Hi!

    Can you reproduce the issue here?
    http://jsbin.com/zitumisunaqe/1/edit

    Best regards,
    Josue

    #316083

    Yes, same problem on jsbin.
    IE: http://oi58.tinypic.com/2uogpph.jpg
    Firefox: http://oi57.tinypic.com/j0iqgl.jpg

    Best regards,
    Bogus

    #316101

    Hey Bogus!

    The problem is with Open Sans then, try using a font that ensures full functionality with Polish characters.

    Regards,
    Josue

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