為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Is @font-face unicode-range supported in the latest version?

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

more options

CSS3 defines a unicode-range descriptor in the @font-face rule. Is this supported in Firefox 8, or is it planned?

[http://www.w3.org/TR/css3-fonts/#unicode-range-desc CSS3 defines ]a ''unicode-range'' descriptor in the @font-face rule. Is this supported in Firefox 8, or is it planned?

被選擇的解決方法

Yes, it doesn't seem to working as of now, so you have to wait until the bug gets fixed.

You can vote for it to show that you are interested, but please do not comment in that bug to avoid unnecessary bug spam.

從原來的回覆中察看解決方案 👍 0

所有回覆 (5)

more options
more options

I haven't played with it thoroughly but it's not working for me (@font-face just uses the last rule without discriminating based on the code point). The bug at https://bugzilla.mozilla.org/show_bug.cgi?id=475891 implies it's not done yet.

more options

Further details: Testing with Firefox 8.0, this shows Arial for all glyphs:

<!DOCTYPE html>

<html>

  <head>

    <title></title>

  <style>

   body{

    font-family: myfont;

   }

   @font-face {

    font-family: myfont;

    src: local(Georgia);

   }

   @font-face {

    font-family: myfont;

    src: local(Arial);

    unicode-range: U+A5; /* single glyphs */

   }

  </style>

  </head>

  <body>

  This Is A Test

  </body>

</html>


So it's not working. The test you linked to above fails with "ok is not defined"

Hopefully it will be done in Firefox 9

由 cor-el 於 修改

more options

選擇的解決方法

Yes, it doesn't seem to working as of now, so you have to wait until the bug gets fixed.

You can vote for it to show that you are interested, but please do not comment in that bug to avoid unnecessary bug spam.

more options

For the @Font-Face it would be nice if FireFox could support Classical Mongolian Script which is TTB-LTR

verticle-direction: ltr-ttb; unicode-range: U+1800–18AF;

Load this page with FireFox and IE http://www.babelstone.co.uk/test/Mongolian.html

Cyrillic is the language imposed by the Soviets on Northern Mongolia (2+ million people). Southern Mongolians (6 million) can not read Cyrillic. Their common language is Classical Script. It would mean a great deal to these people and to Mongolians around the world, if they could access information in their own language.

This presents another problem - How to identify the 3 alphabets in use in Mongolia - Cyrillic, Latin and Classical Script mn-MN is the Cyrillic designation.