Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #14248

    why ? for headings i use open sans, which support greek

    do i have to hack choicesincludesadminregister-admin-options.php file or/and choicesframeworkphpclass-style-generator.php ?

    plz. give a solution


    any ideas ?



    I’m not sure if/what you would need to do so I’m going to flag this for the rest of the support team to see if they may know.




    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]).'" />';

    Instead of ?subset=latin,cyrillic insert the subset(s) you need (eg latin and greek, etc.).

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

The topic ‘greek heading fonts wrongly fall back to standard web fonts…’ is closed to new replies.