I tried a lot of things, including clicking on ALL questions related to my question (there were tons!) And tried all their “solutions”, but no one worked for me. I tried to wrap the .eot file in a conditional IE statement, but that didn't work either. Someone said that @ font-face will not work in Firefox unless you host the file on your own server ... Or something like that. In any case, go here to see a comparison between all other browsers against Firefox. Please do not bash! I really tried all the solutions offered by Google and stackoverflow. (Keep in mind that this is a Tumblr theme, and all files / images must be hosted via the Tumblr uploader .)
Thanks in advance!
Also, here is the code I used:
<!--[if IE]>
<style>
@font-face {
font-family: 'S';
src: url('http://static.tumblr.com/ctwb3zj/5bTlflus9/zegoelight-u-webfont.eot');
}
</style>
<![endif]-->
<style>
@font-face {
font-family: 'S';
src: url('http://static.tumblr.com/ctwb3zj/5bTlflus9/zegoelight-u-webfont.eot');
src: local('S'),
local('S'),
url('http://static.tumblr.com/ctwb3zj/n4Zlfluv6/zegoelight-u-webfont.ttf')
format('truetype'),
url('http://static.tumblr.com/ctwb3zj/ovQlfluz3/zegoelight-u-webfont.svg#font')
format('svg');
url('http://static.tumblr.com/ctwb3zj/1AJlfluwz/zegoelight-u-webfont.woff')
format('woff');
}
</style>
I tried going to: config in Firefox and switching security.fileuri.strict_origin_policy to false, but that didn't work. Also, I need a way so that all users who have viewed or used my theme can also view the font, and the default is true.
source
share