Font Support Cyrillic - Modernize
To change the google font subset, try going to
include/plugin/fontloader.php file.
Around line 219, you'll see
// include all used font into the website
add_action('init', 'include_used_font');
function include_used_font(){
if(is_admin()) return;
global $all_font;
$google_font_family = '';
foreach($all_font as $font_name => $font){
if($font['is-used']){
if($font['type'] == 'Cufon'){
wp_deregister_script($font_name);
if( $font_name == 'Cufon'){
wp_register_script($font_name, $font['path'], false, '1.0', false);
}else{
wp_register_script($font_name, $font['path'], false, '1.0', true);
}
wp_enqueue_script($font_name);
}else if($font['type'] == 'Google Font'){
$google_font_family = $google_font_family . str_replace(' ', '+' , $font_name) . ':subset=latin:n,i,b,bi|';
}
}
}
if(!empty($google_font_family)){
wp_enqueue_style('Google-Font','http://fonts.googleapis.com/css?family=' . $google_font_family);
}
}
Try to change to
// include all used font into the website
add_action('init', 'include_used_font');
function include_used_font(){
if(is_admin()) return;
global $all_font;
$google_font_family = '';
foreach($all_font as $font_name => $font){
if($font['is-used']){
if($font['type'] == 'Cufon'){
wp_deregister_script($font_name);
if( $font_name == 'Cufon'){
wp_register_script($font_name, $font['path'], false, '1.0', false);
}else{
wp_register_script($font_name, $font['path'], false, '1.0', true);
}
wp_enqueue_script($font_name);
}else if($font['type'] == 'Google Font'){
$temp_font_name = str_replace(' ', '+' , $font_name);
$google_font_family = $temp_font_name . ':300,300italic,400,400italic,700,700italic&subset=latin';
wp_enqueue_style('Google-Font-' . $temp_font_name,'http://fonts.googleapis.com/css?family=' . $google_font_family);
}
}
}
}
This is an example of the font subset
latin,cyrillic,greek,vietnamese,greek-ext,cyrillic-ext,latin-ext

