@rdtran have you maybe solved this problem? I’ve got a similar problem. If I use @import from google URL, everything works perfectly and fonts are displayed, but if I try to use the fonts locally, none of the fonts is used in the view. Of course, I’ve got the fonts downloaded; CSS is also correct and I’ve got the local fonts working perfectly on desktop browser. Once the app is uploaded to a device, no fonts are shown on the phone screen.
I’m sure there’s no need to use the eot, svg and others. Fonts linked from Google URL works just perfectly, and there in the CSS importer from remote server, there are no svg, ttf, etc.
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto:400,500,300|Roboto+Condensed:400,300,700|Open+Sans+Condensed:300,700|Open+Sans:400,300,600&subset=latin,cyrillic,cyrillic-ext,latin-ext' rel='stylesheet' type='text/css'>
If you open the CSS from the link, you’ll see there’s no ttf, etc. and woff2 is enough. But if I copy the fonts to local folder and use it locally from CSS @font-face it works only on desktop Chrome. For example:
/* latin */
font-family: 'Open Sans Condensed';
src: local('Open Sans Cond Light'), local('OpenSans-CondensedLight'), url(fonts/OpenSans-CondensedLight-Latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
font-family: 'Open Sans Condensed', sans-serif;
I’ve checked over the internet and a guy here used the same method with success, but not me
As I said, the above code works perfectly in a desktop PC Chrome (the font is of course not installed in the local system). It doesn’t work if app is build and run on device.
Could anyone help me with that, please?