Home  >  Q&A  >  body text

pc端引入的特殊字体只引入ttf文件可以吗?

项目中页面用到了方正兰亭 粗体和细黑体,设计给我提供的字体文件只有ttf,如果只引入这中格式会不会出现什么问题呢?

我是灰太狼我是灰太狼2772 days ago1376

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-10-01 00:23:42

    Can the special fonts introduced on PC only be imported into ttf files? -PHP Chinese website Q&A-Can the special fonts introduced on the PC only be imported into ttf files? -PHP Chinese website Q&A

    Let’s take a look and learn.

    reply
    0
  • 怪我咯

    怪我咯2017-02-17 13:51:56

    首先获取要使用字体的三种文件格式.EOT、.TTF或.OTF、.SVG,确保能在主流浏览器中都能正常显示该字体。

    .EOT,适用于Internet Explorer 4.0+
    .TTF或.OTF,适用于Firefox 3.5、Safari、Opera
    .SVG,适用于Chrome、IPhone


    reply
    0
  • Cancelreply