jetheredge/SquishIt — Issue #163: Support for .eot webfonts fails when including styles in SquishIt bundle
Author: mhrovatic
Created: 2012-03-09 00:49:56+00:00
State: open

When I include the stylesheet.css file from a FontSquirrel package in a SquishIt bundle, the support for .eot fonts will not work in browsers IE7 and IE8. After painstakingly testing this bug I discovered that both mentioned browsers will support .eot webfonts if the file was included separately (not in a SquishIt bundle) but will fail to display the correct font immediately when the CSS was included in the bundle.

Apparently SquishIt rewrites the paths to the files, rewriting (or encoding) the "?iefix" string also and thus making the old IEs fail to recognize the correct .eot file and fail to render the font correctly.