字体无法在Safari中完全正常工作 [英] Font Face not working completely in Safari

查看:306
本文介绍了字体无法在Safari中完全正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Font Face属性,并且已经在Firefox,Chrome和Opera中对其进行了测试...效果很好. 但是,当我在野生动物园和资源管理器中尝试时,它只能在一行上运行,而不能在另一行上运行

I am using the Font Face Property and I have tested it in Firefox, Chrome and Opera...it works fine. however when I try it in safari and explorer it only works on one line and not the other

这是css:

 @font-face { 
     font-family: font2;
     src:url(../fonts/Artbrush.TTF) ;
 } 

@font-face { 
    font-family: font1;
    src :url(../fonts/playbiln.TTF) ;
}

推荐答案

我以前遇到过此问题.发生的情况是,ttf字体通常在mac/safari上无法正常工作

I had this problem before. what happens is that the ttf fonts do not usually work well on mac / safari

Safari和IE无法读取TTF和EOT字体

这篇关于字体无法在Safari中完全正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆