Fix @font-face to work with IE8.

This commit is contained in:
Davide P. Cervone 2015-04-18 06:57:27 -04:00
parent 64ed60ac51
commit c2c33b634e

View File

@ -1664,10 +1664,10 @@
//
// The web font, if no local font found
//
font = {"font-family":family+"w",
src: [
// "url('"+EOTDIR+"/"+name+"-"+variant+".eot?#iefix') format('embedded-opentype')",
"url('"+EOTDIR+"/"+name+"-"+variant+".eot') format('embedded-opentype')",
font = {
"font-family": family+"w",
"src /*1*/": "url('"+EOTDIR+"/"+name+"-"+variant+".eot')", // for IE8
"src /*2*/": [
"url('"+WOFFDIR+"/"+name+"-"+variant+".woff') format('woff')",
"url('"+OTFDIR+"/"+name+"-"+variant+".otf') format('opentype')"
].join(", ")