I am trying to embed Google fonts in a WebView in iPad.
If I put this in the head all works fine:
<link href='http://fonts.googleapis.com/css?family=Monofett' rel='stylesheet' type='text/css'>
The html is local then I need to copy the CSS and the fonts in my iPad.
When I do this changes the fonts doesn't work:
html:
<link href='fonts/fonts.css' rel='stylesheet' type='text/css'>
fonts/fonst.css:
@font-face {
font-family: 'Monofett';
font-style: normal;
font-weight: normal;
src: local('Monofett'), url('http://themes.googleusercontent.com/static/fonts/monofett/v1/94n9d8-lEEaOz-Sn4plHGPesZW2xOQ-xsNqO47m55DA.woff') format('woff');
}
I know I'm still doing remote connections but why doesn't work this?
The web looks fine in Safari and Firefox.