Closed mislam closed 9 years ago
Can you provide a sample of the source that is failing? (Even better would be a failing test case :smile: )
I have provided the source (Brocfile from my ember-cli
app).
Here's the css that is importing the font files:
@font-face {
font-family: 'RobotoRegular';
src: url('/assets/fonts/roboto-regular.eot');
src: url('/assets/fonts/roboto-regular.eot?#iefix') format('embedded-opentype'),
url('/assets/fonts/roboto-regular.woff2') format('woff2'),
url('/assets/fonts/roboto-regular.woff') format('woff'),
url('/assets/fonts/roboto-regular.ttf') format('truetype'),
url('/assets/fonts/roboto-regular.svg#robotoregular') format('svg');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Flaticon';
src: url('/assets/fonts/flaticon.eot');
src: url("/assets/fonts/flaticon.eot#iefix") format("embedded-opentype"),
url("/assets/fonts/flaticon.woff") format("woff"),
url("/assets/fonts/flaticon.ttf") format("truetype"),
url("/assets/fonts/flaticon.svg") format("svg");
font-weight: normal;
font-style: normal;
}
This screenshot should help to understand the situation:
I have a failing test case for this issue. I still need to brainstorm about the best way to fix this issue.
This should be fixed in 1.1.1
- Please let me know if this does not fix your issue and I will re-open.
The issue is fixed now with v1.1.1. Thanks a bunch!
I was trying to include md5 checksums for fonts files. It works except the checksum of woff is being used for woff2 (which is wrong).
Reference: https://github.com/stefanpenner/ember-cli/issues/2594#issuecomment-64985430