• 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
Re: NSGlyph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSGlyph


  • Subject: Re: NSGlyph
  • From: email@hidden
  • Date: Sat, 4 Oct 2008 12:06:49 -0700

Sorry, that method should have looked like this:

[path appendBezierPathWithGlyph:'+' inFont:[NSFont userFontOfSize: 14.0]]



On 4 Oct, 2008, at 11:59, email@hidden wrote:

I can't figure out how NSGlyph works in methods like this:

[path appendBezierPathWithGlyph:'x' inFont:[NSFont userFontOfSize: 14.0]]

(Of course 'path' is an NSBezierPath.)

What I get on the screen is not an '+', but an upper-case "H" in some outline font. And when I put in explicit Unicodes, I don't get the expected symbol either.

NSGlyph is declared as an unsigned int. But how is it connected to displayed characters?

_______________________________________________

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


References: 
 >NSGlyph (From: email@hidden)

  • Prev by Date: NSGlyph
  • Next by Date: Re: NSGlyph
  • Previous by thread: NSGlyph
  • Next by thread: Re: NSGlyph
  • Index(es):
    • Date
    • Thread