Answer the question
In order to leave comments, you need to log in
How to deal with Opera glitch in Open Sans?
If you set font-weight: bold; and Open Sans to Russian text (i.e. Cyrillic), then Opera will have squares instead of Russian letters. How can this be dealt with?
(use a different font or not bold - extreme measures)
Answer the question
In order to leave comments, you need to log in
Almost figured it out, but still need help. The problem was that the Cyrillic subset was not connected. Here is what I found in /wp-includes/script-loader.php:
/* translators: To add an additional Open Sans character subset specific to your language,
* translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language.
*/
$subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)' );
if ( 'cyrillic' == $subset ) {
$subsets .= ',cyrillic,cyrillic-ext';
} elseif ( 'greek' == $subset ) {
$subsets .= ',greek,greek-ext';
} elseif ( 'vietnamese' == $subset ) {
$subsets .= ',vietnamese';
}
// Hotlink Open Sans, for now
$open_sans_font_url = "//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets";
}
Maybe Opera can't just emulate Cyrillic boldface. Bold will require a separate Open Sans Bold headset,
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question