I'm using @font-face to display hebrew font which works on all browsers but firefox what can I do? [SOLVED]
I'm using the following code to display a custom font:
@font-face { font-family: Hebrew; src: url('fonts/BN Barak.ttf'); }
and than I set my blog description to use it:
#blog-description { color:#FFF; font-size:13px; /*font-style:italic;*/ margin-right: 22px; font-family: Hebrew; }
But Firefox won't show the font although opera IE and chrome does.
I'm using the following code to display a custom font:<br />
<br />
<pre><nowiki>@font-face {
font-family: Hebrew;
src: url('fonts/BN Barak.ttf');
}
</nowiki></pre>
and than I set my blog description to use it:<br />
<br />
<pre><nowiki>#blog-description {
color:#FFF;
font-size:13px;
/*font-style:italic;*/
margin-right: 22px;
font-family: Hebrew;
}
</nowiki></pre>
But Firefox won't show the font although opera IE and chrome does.
由cor-el于
所有回复 (3)
Recent related discussion that might or might not help: Why have you removed @font-face support from Firefox5 (Yes, tested on multiple machines, works fine in all other browsers & firefox4!) | Firefox Support Forum | Firefox Help.
I don't think it's the same issue as I have an English font that does work. only the Hebrew font doesn't work.
Nevermind I solved it, my mistake.