【发布时间】:2012-09-20 22:50:48
【问题描述】:
这个结论可能有点仓促,但是当我发现 FontSquirrel.com 没有生成带有their @font-face generator 的笑脸 (☺) 时,我的问题就出现了。
FontSquirrel 的 @font-face 生成器仅生成以下内容,而不是通常的防弹标准(as laid out by Paul Irish 关于笑脸):
@font-face {
font-family: 'sansationregular';
src: url('sansation_regular-webfont.eot');
src: url('sansation_regular-webfont.eot?#iefix') format('embedded-opentype'),
url('sansation_regular-webfont.woff') format('woff'),
url('sansation_regular-webfont.ttf') format('truetype'),
url('sansation_regular-webfont.svg#sansationregular') format('svg');
font-weight: normal;
font-style: normal;
}
我意识到,通过 FontSquirrel 放弃笑脸意味着笑脸不再相关,这可能太仓促了,但考虑到 FontSquirrel 的 @font-face 生成器似乎是最流行和最常用的生成器,这让我想知道为什么他们不再包括笑脸。尤其是因为他们似乎之前已经包含了它......
以防万一有人不熟悉笑脸,有a good explanation here。
【问题讨论】:
-
FS 变体中的
local()在哪里? -
@Knu:正是我的问题,他们似乎不再包含它了。
标签: css fonts font-face webfonts