In Symfony 2 Im, using resource binding, for example.
{% stylesheets 'bootstrap/css/bootstrap.css' 'bootstrap/flat/css/flat-ui.css' filter='cssrewrite' filter='?yui_css' %}
It works fine, however my @ font-face resources are not loading. They work fine in the dev environment, but as soon as css is inserted into a single file in the production environment, does the default font load instead?
cssrewrite works correctly, since I checked that the relative path was updated correctly to point to the right area, I even tried to use an absolute URL that did not work.
I tried to compile, which did not help. The only thing that worked was to remove it from the kit and download it directly.
Is there some kind of bug with combining symfony assets and @ font-face: S: S: S
Below is the css for @ font-face in the prod environment after it was bundled.
@font-face{font-family:"Flat-UI-Icons-16";src:url("../bootstrap/flat/fonts/Flat-UI-Icons-16.eot");src:url("../bootstrap/flat/fonts/Flat-UI-Icons-16.eot?#iefix")
source share