New Landing How can we help? Themeforest Theme Support Dante Loading Cyrillic fonts

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #39644
    Dimitar Dinev
    Member
    Post count: 9

    Hi guys I made second website with Dante and decide to tweak it little bit more. So I load some Google fonts. Unfortunately it did not load in cyrillic. I’ve checked them in Google before i choose one but when i set them in theme options it loads only latin.

    I talk with my dev guys and they send me solution, but when I try to set their code into custom JS it did not work again.

    This is what load now:
    WebFontConfig = {
    google: { families: [‘Open Sans:300’, ‘Playfair Display SC:400’, ‘Open Sans:400’, ‘Vidaloka’] }
    };

    Here is what I need to be loaded:
    ‘Playfair+Display+SC:400:latin,cyrillic’

    I have some options to hardcode it but I look for more elegant way to do it.

    Happy New Year and look forward for your answer.
    Dimitar

    #39868
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Dimitar,

    Have you tested that the loaded suggestion works? I haven’t personally seen the option of loading cyrillic via the web font loader, we have always advised users to set this themselves, including via custom css.

    Let me know.

    – Ed

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register