• 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
Using NSSmallCapsFontMask?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using NSSmallCapsFontMask?


  • Subject: Using NSSmallCapsFontMask?
  • From: Matt Gough <email@hidden>
  • Date: Tue, 6 Apr 2004 10:01:52 +0100

I am trying to get an NSFont with the NSSmallCapsFontMask trait, but whenever I do so, my text doesn't get drawn as small caps (via an AttributedString). I know things are generally right in my app, as using NSBoldFontMask and or NSItalicFontMask behave as expected.

I obtain NSFonts in a similar way to:

NSFont* font = [[NSFontManager sharedFontManager] fontWithFamily:@"Helvetica"
traits:NSSmallCapsFontMask
weight:5 size:12];

Is NSSmallCapsFontMask actually supported. or am I missing something?

Matt Gough
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Using NSSmallCapsFontMask?
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Localized nib will only load english
  • Next by Date: Re: Localized nib will only load english
  • Previous by thread: Dragging from dock to application
  • Next by thread: Re: Using NSSmallCapsFontMask?
  • Index(es):
    • Date
    • Thread