Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (webview)
Viewing all articles
Browse latest Browse all 680

HTML FontFace working in safari not in stimulator and device

$
0
0

Hi, I have a HTML page which uses fontface for japanese font. It worked perfectly in browsers. when I checked on html5 mobile application in Appcelerator Titanuim, it failed in both Stimulator and Device. please guide me how to overcome this. my syntax is :

@font-face {
    font-family: 'Japanese';
    font-style: normal;
    font-weight: normal;
    src: local('Japanese'), url('css/Japanese.ttf') format('truetype');
    }
.Japanese {
    font-family: Japanese, sans-serif;
    }
Thanks in Advance, GANESH M

Viewing all articles
Browse latest Browse all 680

Trending Articles



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