CSS:字体问题 - Ubuntu 压缩字体有时无法正确呈现

CSS: Font Problem - Ubuntu Condensed Font doesn't render correctly sometimes

几周来我对以下问题感到绝望:

我有一个样式表,我在开头导入 "Ubuntu Condensed" 字体:

@import url("https://fonts.googleapis.com/css?family=Ubuntu+Condensed");

然后我把它涂在身上,这样:

body {
font-family: 'Ubuntu Condensed', sans-serif;
}

现在出现 Problem/Bug(?) .. 有时(比如每访问 10-30 页)"Ubuntu Condensed" 字体似乎无法正确呈现(请参阅屏幕截图)。那么整个页面(正文)的字体看起来完全是错误的!

Screenshot of the Problem (wrong VS correct font representation)

在我点击 Strg + F5 之后问题消失了,直到我再次访问该页面。

我以前在其他项目中使用过这种字体,但从未遇到过这种问题。:( 有什么想法吗?

非常感谢! :)

问候 - 僵尸

不是真正的解决方案,而是解决方法:考虑使用 google-webfonts-helper. This way you're hosting the fonts yourself. Selfhosting will also render the fonts a tiny bit quicker then getting them from https://fonts.googleapis.com/