搜尋 Mozilla 技術支援網站

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

了解更多

Arabic font not loading in mac osx firefox

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Shadow110

more options

Firefox in MacOS is not rendering fonts which has Arabic content.

Here is one sample glyph form svg font: <glyph d="M960....." horiz-adv-x="1025" unicode="ت"/>

Tried replacing arabic with english text and it works! <glyph d="M960....." horiz-adv-x="1025" unicode="A"/>

I am using fontforge to convert svg to woff and otf fonts. How can I fix the problem, am I doing something wrong font generation?

Output on Firefox(Ubuntu) : https://i.stack.imgur.com/4CZ9X.png

Output on Firefox(MacOS): https://i.stack.imgur.com/TBLRm.png

Browsers which are rendering text correctly:

     Google Chrome on Windows, Ubuntu and MacOS
     Firefox on Windows and Ubuntu
     Safari in MacOS

Browser which is not rendering text correctly:

     Firefox on MacOS

Sample Page : http://hurix-installer.s3.amazonaws.com/arabic_font_package/page0001.xhtml

Firefox in MacOS is not rendering fonts which has Arabic content. Here is one sample glyph form svg font: <glyph d="M960....." horiz-adv-x="1025" unicode="&#x062a;"/> Tried replacing arabic with english text and it works! <glyph d="M960....." horiz-adv-x="1025" unicode="A"/> I am using fontforge to convert svg to woff and otf fonts. How can I fix the problem, am I doing something wrong font generation? Output on Firefox(Ubuntu) : https://i.stack.imgur.com/4CZ9X.png Output on Firefox(MacOS): https://i.stack.imgur.com/TBLRm.png Browsers which are rendering text correctly: Google Chrome on Windows, Ubuntu and MacOS Firefox on Windows and Ubuntu Safari in MacOS Browser which is not rendering text correctly: Firefox on MacOS Sample Page : http://hurix-installer.s3.amazonaws.com/arabic_font_package/page0001.xhtml
附加的畫面擷圖

由 kanchan 於 修改

所有回覆 (1)

more options

What is the address of the page you are working on please.

Have you checked your pages : W3C.org (World Wide Web Consortium) in charge of standards and practices and future development of web pages and web browsers make the rules on code. Mozilla Firefox follows these rules. W3C.org Who make the rules for web code. HTML https://validator.w3.org/ CSS https://jigsaw.w3.org/css-validator/ and https://validator.w3.org/i18n-checker/ and http://mobile.css-validator.org/