IE9+ has a name limits of 31 for font-family, so the long names cause problems; fortunately, FontFaceBug is only needed for IE8 and below, so make that be version dependent. Resolves issue #950.

This commit is contained in:
Davide P. Cervone 2014-12-06 20:24:41 -05:00
parent 142857afa2
commit 3f3f27005a

View File

@ -2959,7 +2959,7 @@
msieNegativeBBoxBug: (mode >= 8), // negative bboxes have positive widths
msieIE6: !isIE7,
msieItalicWidthBug: true,
FontFaceBug: true,
FontFaceBug: (mode < 9),
msieFontCSSBug: browser.isIE9,
allowWebFonts: (mode >= 9 ? "woff" : "eot")
});