title: Custom font for webview
body: <p>I am trying to establish a new custom font (otf file) for my web view.</p>
  
  <p>I put anbaaarabic_bold.otf in assets file.</p>
  
  <p>There is how i do:</p>
  
  <pre><code>String head = "&lt;head&gt;&lt;style&gt;@font-face {font-family: 'verdana';src: url('file://"+ getActivity().getFilesDir().getAbsolutePath()+ "/anbaaarabic_bold.otf');}body {font-family: 'verdana';}&lt;/style&gt;&lt;/head&gt;";
  String htmlData= "&lt;html&gt;"+head+"&lt;body style=\"font-family: verdana\"&gt;"+body+"&lt;/body&gt;&lt;/html&gt;" ;
  
  mBodyArticle.loadDataWithBaseURL("http://nada", htmlData,
                      "text/html", "utf-8", "");
  </code></pre>
  
  <p>body : contain my html code.</p>
  
  <p>I don't know why the font is not working for my webview. body html font doesn't change. </p>