为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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/