在Web应用程序中使用True type字体 [英] Using True type fonts in web applications
问题描述
现在我看到很多网站使用真实字体。我想知道如何在我们的应用程序中使用真正的字体,并影响页面的加载时间?
由于浏览器兼容性问题,字体嵌入可能会有点复杂。例如,Safari只支持SVG字体。 IE只支持.eot,它必须先从.ttf转换。我发现使用自定义字体最简单的方法是使用 Google字体
除了免费的谷歌字体目录可供选择,还有一些供应商提供更广泛的选择字体免费和购买。
Present I see lot of web sites use true type fonts. I want to to know how to use true type fonts in our applications and does it affect the load time of the pages ?
Font embedding can be a bit complicated due to browser compatibility issues. For example, Safari only supports SVG fonts. IE only supports .eot, which must first be converted from .ttf
I have found the easiest way to use custom fonts is with Google Fonts Besides having the free google font directory to choose from, there are a few providers that provide a much wider selection of fonts for free and to purchase.
这篇关于在Web应用程序中使用True type字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!