Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #842505

    Hello, we are having some issue with Playfair Display font on this site – http://ambconsult.comadev.noc.lv

    I’ve highlighted 3 occurrences of same glyph – https://prnt.sc/gbkr8z
    In first 2 cases, glyph looks as it should – Ы, but in footer for some unknown reason its rotated. If I copy and paste that here – it looks correct, however on our page it looks wrong. Is there a way to fix that?

    #842508

    Here is the same issue discussed on github – https://github.com/google/fonts/issues/7

    #843550

    Hi,

    Please try adding following code to Functions.php file in Appearance > Editor

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

    Best regards,
    Yigit

    #843692

    Thanks Yigit, unfortunately, it doesnt work. I added the code, but letter in the footer is still other-way around

    #845182

    Hi,

    Thank you for the update.

    I’m not sure if this is going to work but please replace the code with the following:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    	$fonts['Playfair Display New'] = 'Playfair+Display:400,400i,700,700i,900,900i&subset=cyrillic,latin-ext';
    	return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    	$fonts['Google fonts']['Playfair Display New'] = 'Playfair+Display:400,400i,700,700i,900,900i&subset=cyrillic,latin-ext';
    	return $fonts;
    }

    After that, go to the General Styling > Fonts panel. Re-select the “Playfair Display New” font.

    According to the git, this is a direct issue with the font so I’m afraid we won’t be able to do anything with it if that’s the case. You have to select another font family that supports cyrillic characters.

    // http://www.1001fonts.com/cyrillic+google-web-fonts.html

    Best regards,
    Ismael

    #845359

    Hello Ismael, I replaced code, however I dont see Playfair Display New in the list :-(

    #845670

    Hi,

    Did you check at the very bottom of the list?

    Best regards,
    Ismael

    #845716

    Hi Ismael,
    Oh, yes, its in the end of the list. I’ve applied it, but now fonts doesnt look like playfair display – http://ambconsult.comadev.noc.lv/
    Here is custom code – https://prnt.sc/gethpn

    #845719

    And when I save new font in Enfold settings, its not saved, but after refresh I see –
    Heading Font: Default

    #845721

    I’ve set font to Lora now, but we would love to get Playfair to work

    #846706

    Hi,

    According to the git, this is a direct issue with the font so I’m afraid we won’t be able to do anything with it if that’s the case. You have to select another font family that supports cyrillic characters.

    I’m sorry but we can’t do anything about if it’s a direct issue with the font.

    Best regards,
    Ismael

    #846825

    Hi Ismael, thank you!

    #847095

    Hi,

    Glad we could help. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #847172

    Hi Rikard, please close it

    #847276

    Hi,

    Thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Cyrillic glyphs are wrong in some fonts’ is closed to new replies.