下过来的BrushScriptStd字体只有.otf后缀的字体文件
去http://www.freefontconverter.com/这个网站中转换字体,就会有多种格式的字体文件了
最后在css中添加
@font-face {
font-family: BrushScriptStd;
src: url('../font/brushscriptStd.eot'); /* IE9 Compat Modes */
src: url('../font/brushscriptStd.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/brushscriptStd.woff') format('woff'), /* Modern Browsers */
url('../font/brushscriptStd.ttf') format('truetype'), /* Safari, Android, iOS */
url('../font/brushscriptStd.svg#/brushscriptStd') format('svg'); /* Legacy iOS */
}