我在网站上使用Roboto字体,并且在Chrome(Windows)中的呈现方式如下
字体在iOS中呈现为OK。
我怎样才能解决这个问题?任何帮助表示赞赏:)
最佳答案
我有一个类似的问题。
而是使用Google提供的标准代码,
<link href='https://fonts.googleapis.com/css?family=Poiret+One' rel='stylesheet' type='text/css'>
我添加了
crossorigin="anonymous"
属性标签。<link href='https://fonts.googleapis.com/css?family=Poiret+One' rel='stylesheet' type='text/css' crossorigin="anonymous">
诚挚的,我不知道真正的原因,但是确实有效。希望对您也有用。