我的页面设计师给我发送了他的作品,包括Fira Sans谷歌字体。所以我的笔记本电脑和办公室的电脑上的渲染效果都很差。但是在我家里的电脑上它很好用。
所有人都安装了Windows7。我会在谷歌字体网页上向你展示屏幕。
这是Firefox中的渲染:

无论我是使用@font-face或@import,还是将其添加到<head>标记中。结果总是一样的。所以我想知道我是否在3台机器中的2台上安装了它..那其他用户呢?我应该退出这个字体吗?
以前有没有其他人经历过这样的事情?
更新:这是来自Joel的代码片段的渲染

发布于 2016-09-23 18:31:06
您必须将其作为链接rel加载。
*{font-family: 'Fira Sans', sans-serif;}
.bold{font-weight:bold;}
.italic{font-style: italic;}
.oblique{font-style: oblique;}<link href="https://fonts.googleapis.com/css?family=Fira+Sans" rel="stylesheet">
<p><span class="bold">when you import a font </span> by CDN it will be loaded in client side on page loads, so no matters what device is loading it. Maybe you are <span class="italic">not linking it well</span> or you're working on local machine or <span class="oblique">localhost and it</span> causes some issues. On a server must work fine.</p>
编辑屏幕截图:




发布于 2016-09-23 19:51:06
好的,我在mozilla cdn上找到了同样的字体。
<link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css">它在其他浏览器上也能很好地工作。我还发现Google Fonts团队仍在开发Fira Font,所以在那之前我将坚持使用mozilla版本。
对于@font-face,你可以从github https://github.com/mozilla/Fira/releases/tag/4.202下载包
https://stackoverflow.com/questions/39658488
复制相似问题