嵌入W​​eb字体,我需要包括所有这些:" TTF,EOT,WOFF和SVG"? [英] Embedding web font, do I need to include all of these: "ttf, eot, woff and svg"?

查看:199
本文介绍了嵌入W​​eb字体,我需要包括所有这些:" TTF,EOT,WOFF和SVG"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用将使用手机的差距构建和部署到Android网络应用独特的字体。为Android做我需要包括所有这些不同的格式?

I'm using a unique font for a web app that will be built using phone gap and deployed to Android. For android do I need to include all these different formats?

ttf, eot, woff and svg

如果他们是没有必要的,我宁可不要加载一堆字体文件。

I would rather not load a bunch of font files if they aren't necessary.

推荐答案

它不会伤害,TTF,SVG被广泛使用,EOT是不支持的。浏览器应该只加载一个字体文件不是所有四个所以它不会伤害有那么支持的缘故声明。

It doesn't hurt, TTF, SVG are widely used, EOT is not supported at all. The browser should only load one font file not all four so it doesn't hurt to have then declared for support sake.

http://caniuse.com/#feat=ttf

http://caniuse.com/#feat=woff

http://caniuse.com/#feat=svg

http://caniuse.com/#feat=eot

这篇关于嵌入W​​eb字体,我需要包括所有这些:" TTF,EOT,WOFF和SVG"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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