tags:

views:

161

answers:

3

Hi,

I am developing an iPhone application which needs to show some font in language other than English like Malayalam or Arabic. Is it possible to do that? Please give me appropriate direction to do this.

Thanks in advance.

A: 

You shouldn't need to explicitly choose fonts to do this. Just make sure that your text is correctly represented as Unicode, and the system should select the appropriate fonts to render the glyphs for those codepoints.

(But custom fonts on iPhone, while possible, are hard. Don't go there.)

Sixten Otto
Thanks for quick response Is there any samples to follow?....
Sreelal
@Sixten is correct, except that you probably want to have your app localized into languages like you mention so that the user doesn't see English "prompts" (UILabels, etc) while they are typing in a different language.Many of Apple's samples are done with an eye towards localization, and you should follow their example. Look for files in the resource folder that are named "en" or "EN"
mahboudz
@mahboudz is absolutely right. I was answering under the presumption that we were talking about displaying text in a language/script *other* than the user's preference on the device (say, a language tutorial app, or an international news ticker). But localizing the UI is important, too.
Sixten Otto
A: 

Have you tried TTF fonts and UIAppFonts in Info.plist?

Short summary: http://doli.at/2010/05/08/custom-fonts-ipad/

Daniel Bauke
+1  A: 

You can try to make your application Localized....Where in string file, you can place the words that you need to show.

Just follow the link: http://www.iphonesdkarticles.com/2008/11/localizing-iphone-apps.html

Ajay Sharma