搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

I'm using @font-face to display hebrew font which works on all browsers but firefox what can I do? [SOLVED]

  • 3 回覆
  • 4 有這個問題
  • 1 次檢視
  • 最近回覆由 itayxD

more options

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)

more options
more options

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.

more options

Nevermind I solved it, my mistake.