Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Arabic font not loading in mac osx firefox

  • 1 antwoord
  • 1 heeft dit probleem
  • 1 weergave
  • Laatste antwoord van 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
Gekoppelde schermafbeeldingen

Bewerkt door kanchan op

Alle antwoorden (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/