Font-Face on Android 4.0.X Doesn't Work

Custom Persian And Arabic Fonts in Android 4.1.2 Phonegap (Cordova) not working

finally I overcome this issue on Persian And Arabic custom fonts,

Keep all the codes with @fontface as same as it is,
Download this package http://averta.net/labs/fa/?p=10

From extracted archive, add bifon-1.1b.js to your html and use this script

function onDeviceReady() {

$('#txt1').text(FarsiStyle.convert('سلام عليكم').split('').reverse().join('').split(' ').reverse().join(' '));

}

which txt1 is a div or span.

p.s Thanks to Mr. Morteza F. Shojaei

Fonts not getting applied on android device in ionic 3 app

Problem was with ionic-cli-3.9.2 which is not picking the fonts from assets/fonts so i moved the fonts to /assets. Then it started working very annoying.



Related Topics



Leave a reply



Submit