Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Custom Font not working on IOS

$
0
0

Hello, I could not apply my custom font on ios (everything ok on android!). I have my CFGeneralTao-Regular.ttf on the folder app/assets/iphone/fonts/; my style is:

".myClass": {
    color: 'white',
    font: {
        fontSize:'16dip',
        fontFamily: 'CFGeneralTao-Regular'  
    }
}
on my fontbook I read:

PostScript Name: CFGeneralTao-Regular Full Name: CF General Tao Regular

ios does not apply the font rule. where am I wrong? thanks


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>