Note that there are some explanatory texts on larger screens.

plurals
  1. POArabic text with custom fonts in iOS
    primarykey
    data
    text
    <p>I'm working on an application that requires arabic text to be displayed, using custom arabic font. The problem is that i'm not having any luck in displaying the arabic text using <em>custom</em> arabic fonts. I've tried to display the text in UILabel, UITextField, UITextView, UIWebView, FontLabel (by Zynga), and using CoreText. </p> <p>You can find sample projects here:</p> <p><a href="http://dl.dropbox.com/u/4209396/ArabicFontTest.zip" rel="noreferrer">Sample application using UILabel, UITextField, UITextView and CoreText</a></p> <p><a href="http://dl.dropbox.com/u/4209396/ArabicWebView.zip" rel="noreferrer">Sample application using UIWebView (HTML)</a></p> <blockquote> <p>Sample application using UIWebView (HTML): You'll have to install the fonts in the sample project. You can then compare the results and see the problem by running the application in the simulator (or iPad), and opening Sample.html file in the browser (Safari).</p> </blockquote> <p>I've posted some details on Apple's developer forum but i've always found stackoverflow to be much more active then Apple's official developer forum. Here's a link to that post:</p> <p><a href="https://devforums.apple.com/message/532738" rel="noreferrer">Using custom arabic font in iOS</a></p> <pre><code>What am i doing wrong? </code></pre> <p>Note: The fonts are loaded into the system correctly, and i can successfully apply custom fonts to regular (english) text.</p> <p>p.s. There are a couple of posts on stackoverflow that talk about this subject but none have been of much help, so i'm posting a new question.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload