Locale based font
Locale based font
- Subject: Locale based font
- From: Symadept <email@hidden>
- Date: Mon, 23 Nov 2009 21:00:05 +0800
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 what I want is to use this font file only in english locale
and in other locales it should fallback to the system fonts of the
corresponding controls.
Any pointers highly appreciable.
Regards
Mustafa
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden