title: Use Font-face in Android WebView
body: <p>I want insert font-face in my WebView for display few specials fonts on different WebSite.</p>
  
  <p>For example in Wikipedia i want i use a bit of code for change the font in the html, when this is done, i show the page and the font are not Century Gothic like in the html code. When i try on Google Chrome don't work too. When i try with :</p>
  
  <pre><code>webView.loadDataWithBaseURL(...) 
  </code></pre>
  
  <p>it work if i put on header :</p>
  
  <pre><code>"&lt;link rel='stylesheet' type='text/css' href='file:///android_asset/style.css'/&gt;"
  </code></pre>
  
  <p>In my style.css : </p>
  
  <pre><code>@font-face {
      font-family: Andika;
      src: url('fonts/Andika.ttf');
  }
  @font-face {
      font-family: Calibri;
      src: url('fonts/Calibri.ttf');
  }
  @font-face {
      font-family: Century Gothic;
      src: url('fonts/CenturyGothic.ttf');
  }
  @font-face {
      font-family: Comic Sans MS;
      src: url('fonts/ComicSansMS.ttf');
  }
  
  @font-face {
      font-family: Lexia;
      src: url('fonts/Lexia.ttf');
  }
  @font-face {
      font-family: Lucida Sans Unicode;
      src: url('fonts/LucidaSansUnicode.ttf');
  }
  @font-face {
      font-family: Tahoma;
      src: url('fonts/Tahoma.ttf');
  }
  @font-face {
      font-family: Tiresias;
      src: url('fonts/Tiresias.ttf');
  }
  @font-face {
      font-family: Trebuchet MS;
      src: url('fonts/TrebuchetMS.ttf');
  }
  @font-face {
      font-family: Verdana;
      src: url('fonts/Verdana.ttf');
  }
  </code></pre>
  
  <p>But it is on local data.</p>
  
  <p>I want make that with external page like Wikipedia.</p>
  
  <p>When i inject the link on the wikipedia html page i have this error message :</p>
  
  <pre><code>Not allowed to load local resource: file:///android_asset/
  </code></pre>
  
  <p>And if i put directly the <code>@font-face</code> in style field i have the same error.</p>
  
  <p>SomeOne have an idea for resolve this mistake ?</p>
  
  <p>Please!</p>
  
  <p>Thank you</p>