Html @font-face 黑名单字体

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4905932/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 06:32:50  来源:igfitidea点击:

@font-face Blacklisted font

htmlcssfontsfont-facewebfonts

提问by Tarun

I've been using font-squirrel for quite sometime and was really happy with its generator and the @font-face method as it doesn't produce any FOUT. But recently a project came for development and when I tried to generate, it gave an error

我已经使用 font-squirrel 有一段时间了,并且对它的生成器和 @font-face 方法非常满意,因为它不会产生任何 FOUT。但是最近一个项目来开发,当我尝试生成时,它给出了错误

The font abc.otf is blacklisted by the Generator. Sorry

字体 abc.otf 被生成器列入黑名单。对不起

Where abc.otf is font-file. Now the client has purchased the license for the font, only issue is while development I don't know how to use the font. I don't want to use Cufon as it doesn't support change in styling and I need to have different color for Hover text.

其中 abc.otf 是字体文件。现在客户已经购买了字体的许可证,唯一的问题是在开发中我不知道如何使用字体。我不想使用 Cufon,因为它不支持样式更改,我需要为悬停文本使用不同的颜色。

I am looking for a website which can generate @font-face variants for IE7+ {EOT}, firefox and webkit

我正在寻找一个可以为 IE7+ {EOT}、firefox 和 webkit 生成 @font-face 变体的网站

回答by Tarun

I finally figured out how to do it :)

我终于想出了怎么做:)

http://www.font2web.com/

http://www.font2web.com/

回答by Myles Gray

Here is a TTF to EOT converter I found (Its online and free!)

这是我找到的 TTF 到 EOT 转换器(在线且免费!)

http://www.kirsle.net/wizards/ttf2eot.cgi

http://www.kirsle.net/wizards/ttf2eot.cgi

There is also Microsoft's WEFT tool:

还有微软的WEFT工具:

http://www.microsoft.com/typography/web/embedding/weft3/download.aspx

http://www.microsoft.com/typography/web/embedding/weft3/download.aspx

Hope this sorts your problem.

希望这可以解决您的问题。

UPDATE:

更新:

http://www.freefontconverter.com/- Every format you'll ever need.

http://www.freefontconverter.com/- 您需要的每种格式。