gpt4 book ai didi

android - 嵌入网页字体,是否需要包含所有这些 : "ttf, eot, woff and svg"?

转载 作者:太空狗 更新时间:2023-10-29 13:22:38 25 4
gpt4 key购买 nike

我正在为一个网络应用程序使用一种独特的字体,该应用程序将使用手机间隙构建并部署到 Android。对于 Android,我需要包含所有这些不同的格式吗?

ttf, eot, woff and svg

如果不需要,我宁愿不加载一堆字体文件。

最佳答案

无伤大雅,TTF、SVG被广泛使用,EOT根本不支持。浏览器应该只加载一个字体文件而不是全部四个,因此为了支持而声明并没有什么坏处。

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

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

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

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

关于android - 嵌入网页字体,是否需要包含所有这些 : "ttf, eot, woff and svg"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26514610/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com