Fix @font-face to work with IE8.
This commit is contained in:
parent
64ed60ac51
commit
c2c33b634e
|
@ -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(", ")
|
||||
|
|
Loading…
Reference in New Issue
Block a user