搜尋 Mozilla 技術支援網站

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

Learn More

Firefox is able to integrate a font file(AxisCondStd-Medium.otf),name of the font is Axis condensed standard Medium.The Size of the File is 2.1Mb is the size creating the problem.the Fonts are detected in Chrome

  • 6 回覆
  • 8 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

Firefox is able to integrate a font file(AxisCondStd-Medium.otf),name of the font is Axis condensed standard Medium.The Size of the File is 2.1Mb is the size creating the problem.the Fonts are detected in Chrome

== 09-06-2010

Firefox is able to integrate a font file(AxisCondStd-Medium.otf),name of the font is Axis condensed standard Medium.The Size of the File is 2.1Mb is the size creating the problem.the Fonts are detected in Chrome == 09-06-2010

所有回覆 (6)

more options

Firefox is not able to integrate a font file(AxisCondStd-Medium.otf),name of the font is Axis condensed standard Medium.The Size of the File is 2.1Mb is the size creating the problem.the Fonts are detected in Chrome

more options

Can you post a link?

more options

I have this problem, my font is Kozuka.otf The font is downloaded & displayed by Chrome. The font is also downloaded by Firefox (checked in Firebug) The directory serving the file has an .htaccess to allow cross-domain (and is proven to work with other .ttf fonts in that same directory, using Firefox) However, this particular font will not load in Firefox 3.6.12

由 furrytoes 於 修改

more options

Are you using the "Kozuka Gothic Pro" font via @font-face on your website?

This works for me if I download and install the font on Linux

data:text/html,
Kozuka Gothic Pro<br><font face="Kozuka Gothic Pro" size="25">abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</font><br>
more options

Yes, it will work if you install it. But it doesn't work when you embed it. My apologies, when I saw this question I assumed it was referring to embedding fonts (eg using @font-face).

This is when this font doesn't work. Perhaps I need to raise a separate issue.

eg <style type="text/css"> @font-face { font-family: kozuka; src: url(Kozuka.otf) format("opentype"); } </style>

[h1 style="font-family: kozuka;"]This is a test. こは テスト[h1]

I couldn't post the html quite right there, but I think it's close enough to understand ;-) I'm not sure about licenses yet, but I'd like to make sure that such .otf's can work on Firefox.

由 furrytoes 於 修改

more options

A Google search shows that the Kozuka font is from Adobe (used to be present in older Adobe Reader versions; current AR versions only have the MyriadPro font), so be careful with storing such a font on a server for download or embedding to avoid licensing problems.

I only see this particular font working if I use the font-family: "Kozuka Gothic Pro"
You can always check font names via Tools > Options > Content : Fonts & Colors : Default font, after you have installed a font.