• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Locale based font
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Locale based font
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: drawRect method not called after several hours...
  • Next by Date: Strings mangled on generalPasteboard
  • Previous by thread: Re: change value for key in NSDictionary
  • Next by thread: Re: Locale based font
  • Index(es):
    • Date
    • Thread