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

    Can you take a look:

    As you can see the first two words “Добро пожаловать” written in Russian, do not displayed with Lobster font, I’ve chosen from theme options panel. What strings of code I should add (and where) to add Cyrillic subset to google fonts. Also it will be very kind of you to advise me how can I add my own google (or may be fontface) fonts. Because only two fonts already integrated into the theme have native support of Cyrillic glyphs (but even they do not displayed correctly – font substitution occurs)


    1) Here’s a list of all fonts which offer a cyrillic subset:

    2) In choicesincludesadminregister-admin-options.php search for following code line:

    "subtype" => array(	'no custom font'=>'',

    and add your custom font to the list below.


    Hi Dude, thank you for your fast response.

    I already know what google fonts support cyrillic subset. Can you give an example how I can do it with one of this fonts:

    Something like this:

    “subtype” => array( ‘no custom font’=>”,

    <link href=’,cyrillic’ rel=’stylesheet’ type=’text/css’>

    Or another way? Excuse me I’m not a coder


    You’ll need to hack the core files in this case – open up choicesframeworkphpclass-style-generator.php and search for:

    $this->extra_output .= '<link id="google_webfont_'.$this->webfont_count.'" rel="stylesheet" type="text/css" href="'.$prefix.'://'.str_replace(' ','+',$rule_split[0]).'" />';

    replace the code with:

    $this->extra_output .= '<link id="google_webfont_'.$this->webfont_count.'" rel="stylesheet" type="text/css" href="'.$prefix.'://,cyrillic&family='.str_replace(' ','+',$rule_split[0]).'" />';


    I’ve also tried with this hack to add a google font in russian to my flashlight theme and it’s not working :(




    Best regards,


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

The topic ‘Google cyrillic fonts are not displayed correctly.’ is closed to new replies.