-
AuthorPosts
-
August 22, 2017 at 1:02 pm #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?August 22, 2017 at 1:03 pm #842508Here is the same issue discussed on github – https://github.com/google/fonts/issues/7
August 24, 2017 at 3:56 pm #843550Hi,
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,
YigitAugust 24, 2017 at 8:50 pm #843692Thanks Yigit, unfortunately, it doesnt work. I added the code, but letter in the footer is still other-way around
August 29, 2017 at 5:13 am #845182Hi,
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,
IsmaelAugust 29, 2017 at 3:12 pm #845359Hello Ismael, I replaced code, however I dont see Playfair Display New in the list :-(
August 30, 2017 at 8:29 am #845670August 30, 2017 at 10:21 am #845716Hi 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/gethpnAugust 30, 2017 at 10:36 am #845719And when I save new font in Enfold settings, its not saved, but after refresh I see –
Heading Font: DefaultAugust 30, 2017 at 10:38 am #845721I’ve set font to Lora now, but we would love to get Playfair to work
September 1, 2017 at 9:11 am #846706Hi,
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,
IsmaelSeptember 1, 2017 at 11:55 am #846825Hi Ismael, thank you!
September 2, 2017 at 7:32 am #847095Hi,
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,
RikardSeptember 2, 2017 at 2:15 pm #847172Hi Rikard, please close it
September 3, 2017 at 5:17 am #847276 -
AuthorPosts
- The topic ‘Cyrillic glyphs are wrong in some fonts’ is closed to new replies.