Google fonts non-english letters don't use font-weight attribute in safari

时间:2018-02-01 18:38:06

标签: fonts safari non-english roboto

I have a problem with "Roboto" font in Safari (at least on ver. 9.0.3). The problem is that non-english letters like "ąčęėįšųūž" don't use font-weight value when I set font-weight below 400 weight. When it's above 400, it works fine.

Website in question

Link is correct with weights in it:

<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic%7CRoboto+Slab:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic">

Example: font-weight: 200

Is there any solution to this problem?

1 个答案:

答案 0 :(得分:0)

你是否写过<meta charset="utf-8">

如果答案是&#39;是&#39;或问题仍然存在:
当&#39; woff&#39;字体来自网站,Safari遇到兼容性问题。尝试OpenType或TrueType字体,这可能不会再发生。您也可以在PC上下载Roboto。