The following s a example @font-face CSS rule:
@font-face {
font-family: DroidSerifBoldItalic ;
font-weight: normal;
font-style: normal;
src: url( DroidSerif-BoldItalic-webfont.eot );
src: url( DroidSerif-BoldItalic-webfont.eot?#iefix ) format( embedded-opentype ),
local( Droid Serif Bold Italic ), local( DroidSerif-BoldItalic ),
url( DroidSerif-BoldItalic-webfont.woff ) format( woff ),
url( DroidSerif-BoldItalic-webfont.ttf ) format( truetype );
}
您认为,以下“过去”的《社会保障法》规则较好? (正如你可以看到的那样,在这种情况下,浏览器甚至电算器,如果电线在用户计算机上可以查到,然后下载)
@font-face {
font-family: DroidSerifBoldItalic ;
font-weight: normal;
font-style: normal;
src: local( Droid Serif Bold Italic ), local( DroidSerif-BoldItalic );
src: url( DroidSerif-BoldItalic-webfont.eot );
src: url( DroidSerif-BoldItalic-webfont.eot?#iefix ) format( embedded-opentype ),
url( DroidSerif-BoldItalic-webfont.woff ) format( woff ),
url( DroidSerif-BoldItalic-webfont.ttf ) format( truetype );
}
Are there any gotchas here? If not, why isn t everyone using the latter?