Answer the question
In order to leave comments, you need to log in
What about the font in the mobile version of the site?
Hello!
There was a problem, the site uses the Cuprum font with Cyrillic, connected from Google Fonts. On the desktop version, everything looks fine . On
the mobile version (smartphones and tablets), this font displays only Latin characters. Cyrillic is displayed in a different font.
At the same time, adaptability testing services (which show the site on different devices) see the text normally
. Tell me please, what could be the problem?
UPD Everything was solved by adding cyrillic to the desired line
if(!isset($this->_fonts[$name])) {
$this->_fonts[$name] = array();
$this->_fonts[$name]['atts'] = array();
$this->_fonts[$name]['subsets'] = array('latin,cyrillic');
}
Answer the question
In order to leave comments, you need to log in
Your cuprum has been downloaded to your computer - that's why the browser on the computer takes the font from the windows / fonts folder.
And on the site you simply did not connect the Cyrillic alphabet in cuprum. Check this box and make sure the subset is cyrillic:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question