【问题标题】:offline font converter for @font-face@font-face 的离线字体转换器
【发布时间】:2013-05-20 21:34:50
【问题描述】:

有没有可以转换的免费离线字体转换器
.ttf(truetype) 格式为

  • .eot
  • .woff
  • .svg

想用在@font-face点赞,

@font-face {
font-family: 'MyFontFace';
src: url('fonts/MyFont.eot');
src: local('☺'), url('fonts/MyFont.woff') format('woff'),  
    url('fonts/MyFont.ttf') format('truetype'), url('fonts/MyFont.svg')        
    format('svg');
font-weight: normal;
font-style: normal;
           }

【问题讨论】:

  • 转到fontlab.com 他们有很多工具可供下载
  • 您为什么要限制自己使用离线转换器? FontSquirrel 有一个很棒的在线字体。

标签: css font-face converter


【解决方案1】:

如果您有fontforge,您可以使用它将 ttf 转换为 svg 和 woff。 ttf2eot 工具可以转换为eot。这两个是离线工具,应该可以满足您的离线需求。

但正如 ralph.m 建议的那样,您最好使用其中一种在线转换器。 Fontsquirrel 就是其中之一。 Everything Fonts 也有字体转换器。

http://everythingfonts.com/font-face

【讨论】:

    猜你喜欢
    • 2013-02-26
    • 2013-09-20
    • 1970-01-01
    • 2011-05-02
    • 2018-06-11
    • 2020-11-10
    • 2010-11-22
    • 2013-01-15
    • 2012-11-18
    相关资源
    最近更新 更多