P
P
Pavel Designer2015-12-07 15:04:47
HTML
Pavel Designer, 2015-12-07 15:04:47

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
cbf5d48bd2444b359081ddd0b11882ad.png
the mobile version (smartphones and tablets), this font displays only Latin characters. Cyrillic is displayed in a different font.
d7f26d5799174316816c3a12abf33271.PNG
At the same time, adaptability testing services (which show the site on different devices) see the text normally
d4dc89edd9e64875941f297df12641e1.png
. 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

1 answer(s)
M
Mr Crabbz, 2015-12-07
@pozZzitiv

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:
11d420777e9c4101997df2b2e4aad080.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question