Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Arabic font not loading in mac osx firefox

  • 1 réponse
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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
Captures d’écran jointes

Modifié le par kanchan

Toutes les réponses (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/