Fonts not applied on non-english text (persian, arabic, ...)

dears,
when i change font text in my app via @font-face in css, changes not applied on persian and arabic text, but it’s ok for english text and work correctlly.
i test it on android v4.2 and it’s ok for english text, but has problem for non-english text and no changes happen

however i solved this problem using Cufon (js) and replaced text with my custom font,
any idea ?

best regards,
mrza
@mhartington

2 Likes

Hey there

So this could have happened for a few reasons. Android can be really picky about file paths not being relative to the whole app.

and example would be this /android_asset/www/

Another reason is that you don’t have svg included as your font

Or if your using 4.2, you could be facing this issue

https://code.google.com/p/android/issues/detail?id=73945