• 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: NSBezierPath append CGGlyph
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBezierPath append CGGlyph


  • Subject: Re: NSBezierPath append CGGlyph
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 4 Sep 2007 09:32:52 -0700


On Sep 1, 2007, at 11:37 AM, Keith Duncan wrote:

I appreciate this, it was simply a stab in the dark since I remember reading somewhere (in Apple docs) that they are interchangeable. It should infact read that the value is interchangeable NOT the type.

For valid glyphs in the font, NSGlyph and CGGlyph do use the same numerical values. NSGlyph also has some special defined values (NSControlGlyph and NSNullGlyph) with particular meanings for the Cocoa text system: NSControlGlyph is used in the glyph stream to represent control characters and attachments that end up not being represented by visible glyphs, and NSNullGlyph is used as padding in the glyph stream in cases where that is useful and desirable to keep the numerical indexes for glyphs and characters in line. These values are not likely to be understood in the same way outside of the Cocoa text system, so they should not be carried over to CGGlyphs.


Douglas Davidson

_______________________________________________

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: 
 >NSBezierPath append CGGlyph (From: Keith Duncan <email@hidden>)
 >Re: NSBezierPath append CGGlyph (From: Scott Thompson <email@hidden>)
 >Re: NSBezierPath append CGGlyph (From: Keith Duncan <email@hidden>)
 >Re: NSBezierPath append CGGlyph (From: Shawn Erickson <email@hidden>)
 >Re: NSBezierPath append CGGlyph (From: Keith Duncan <email@hidden>)

  • Prev by Date: OCBlock
  • Next by Date: Re: Text Animation
  • Previous by thread: Re: NSBezierPath append CGGlyph
  • Next by thread: Re: file scan results in EX_BAD_ACCESS
  • Index(es):
    • Date
    • Thread