Custom Arabic font is not working on Android using jQuery mobile 1.4.0 & phonegap

牧云@^-^@ 提交于 2020-01-02 14:04:39

问题


I have been trying to use custom arabic font file "ttf" in my jQuery mobile 1.4.0 & Phonegap app for android but it didnt work on android version 4.x , the default arabic font displays in the emulator and in the actual device not my custom font .

How can I use custom arabic font in jQuery mobile 1.4.0 and phonegap for android v4.x and makes it work ?

Please help me ..

 @font-face{

   font-family:'W3Arabic';
   src: url("Fonts/W3Arabic.ttf"); 
 }

font {
   text-shadow:0 0 0;
   -moz-user-select: none; 
   -webkit-user-select: none; 
   font-family: "W3Arabic" !important;
}

The font appears in the default arabic format of mobile devices as the following image

来源:https://stackoverflow.com/questions/22106979/custom-arabic-font-is-not-working-on-android-using-jquery-mobile-1-4-0-phonega

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!