title: iOS UIWebVIew @font-face with Arabic language
body: <p>I have an iPhone application that contains a webview. This webview renders an <a href="http://en.wikipedia.org/wiki/XHTML" rel="nofollow">XHTML</a> file which contains some Arabic text with CSS style. Everything works right with the style else the type of fonts, and if I change the contained text to English, the font type works right.</p>
  
  <p>What is the problem with Arabic fonts?</p>
  
  <p>Example:</p>
  
  <pre><code>@font-face {
      font-family: "AHRAM";
      font-style: normal;
      font-weight: bold;
      src:url("../Fonts/andlso.ttf") format("truetype");
  }
  
  @font-face {
      font-family: "DroidSans";
      font-style: normal;
      font-weight: normal;
      src:url("../Fonts/arabtype.ttf") format("truetype");
  }
  @font-face {
      font-family: "DroidSansFallback";
      font-style: normal;
      font-weight: normal;
      src:url("../Fonts/A_Nefel_Adeti.ttf") format("truetype");
  }
  
  p.line1 {
      font-family: "AHRAM";
  }
  
  p.line2 {
      font-family: "DroidSans";
  }
  
  p.line3 {
      font-family: "DroidSansFallback";
  }
  
  
  
  
      &lt;head&gt;
          &lt;link href="../Styles/p1.css" rel="stylesheet" type="text/css" /&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
          &lt;p class="line1"&gt; أهلاً بكم &lt;/p&gt;
          &lt;p class="line2"&gt; أهلاً بكم &lt;/p&gt;
          &lt;p class="line3"&gt; أهلاً بكم &lt;/p&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>