Re: Locale based font

2009-11-23 Thread Symadept
Hi Ricky, Thank you very much for your response. But can we have any way where I can find current locale is English, I mean all versions of English. This could solve my issue. Regards Mustafa On Mon, Nov 23, 2009 at 9:50 PM, Ricky Sharp wrote: > I am about to play around with something simila

Re: Locale based font

2009-11-23 Thread Ricky Sharp
I am about to play around with something similar. In my iPhone app, I have some calls with boldSystemFontOfSize. But, for certain locales, it should be a plain font and the size may need to be tweaked. I then had an idea to write a static method to obtain a font style and size based on loca

Locale based font

2009-11-23 Thread Symadept
Hi, I found out the way to show custom font. 1. First give information in info.plist, under the identifier, Application fonts resource path. 2. Add this file into the Resources folder. 3. Invoke using this method. [NSFont fontWithName:CP_FONT_NAME size:11], NSFontAttributeName, Works fine. But w