我想在我的网站上使用字体,我已经做了总体研究,并发现了各种字体格式,现在我想知道标准格式是什么?或者有哪些标准格式?
.TTF (True Type Font)
.EOT (Embedded OpenType)
.OTF (open type font)
.SVG (Scalable Vector Graphics)
.WOFF (Web Open Font Format)
到目前为止,我已经使用了所有这些格式,类似于这样:
@font-face {
font-family: 'Font';
src: url('Font.eot'); /* IE9 Compat Modes */
src: url('Font.eot?#') format('eot'), /* IE6–8 */
url('Font.ttf') format('truetype'), /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
url('Font.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
url('Font.otf') format('opentype'),
url('Font.svg') format('svg');
}
但在这种情况下,网站太重了(所有格式的大小几乎达到1MB),那么我该怎么做才能更加优化?