Closed Hungor closed 8 years ago
FYI: looks like this was fixed in master
yep, fixed in master: https://github.com/ericallam/font_assets/pull/33/files
@ericallam - time for a minor version release? (not to presume that you have time to do that :-D thanks so much for this gem!!!)
+1 for a new version release: buggy behaviour of bundle prevents updating the gem to the last commit
+1 seeing this as well.
+1 seeing this as well.
In the meantime you can include the gem like this: gem 'font_assets', github: 'ericallam/font_assets', ref: '457dcfddc4318e83679e9a0935612924b7717085'
... that commit has the woff2 support.
mepster, yes the fix works. I hope it will be included soon.
thanks :)
Just so you know, it has been merged into master. I think author can close the issue.
Commit of merge : https://github.com/ericallam/font_assets/commit/457dcfddc4318e83679e9a0935612924b7717085
Using the lastest fontawesome gem for rails. Woff is being intepreted well, while woff2 isn't
➜ ~ curl -I http://0.0.0.0:3000/assets/fontawesome-webfont.woff2\?v\=4.3.0 14:08 HTTP/1.1 200 OK Content-Type: application/octet-stream Content-Length: 56780 Cache-Control: public, must-revalidate Last-Modified: Fri, 20 Feb 2015 10:55:24 GMT Etag: "2033872ef56f00d4a1198108e9df3a6c" X-Request-Id: 42b2f28b-dd51-40a7-9726-4c6166255ee5 X-Runtime: 0.133566 Server: WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08) Date: Tue, 10 Mar 2015 13:08:04 GMT Connection: Keep-Alive
➜ ~ curl -I http://0.0.0.0:3000/assets/fontawesome-webfont.woff\?v\=4.3.0 14:08 HTTP/1.1 200 OK Content-Type: application/font-woff Content-Length: 71508 Cache-Control: public, must-revalidate Last-Modified: Fri, 20 Feb 2015 10:55:24 GMT Etag: "4668a014139cd2748ada18c2d56c4692" X-Request-Id: e6ea3167-68fa-4b6c-b6bb-88c7b798b5e6 X-Runtime: 0.021981 Access-Control-Allow-Origin: * Access-Control-Allow-Methods: GET Access-Control-Allow-Headers: x-requested-with Access-Control-Max-Age: 3628800 Server: WEBrick/1.3.1 (Ruby/2.1.2/2014-05-08) Date: Tue, 10 Mar 2015 13:12:26 GMT Connection: Keep-Alive