• 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
NSGlyphGenerator behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSGlyphGenerator behavior


  • Subject: NSGlyphGenerator behavior
  • From: vincent habchi <email@hidden>
  • Date: Sat, 7 Aug 2010 18:14:24 +0200

Hi there,

There is little documentation available on the working of NSGlyphGenerator (or concrete subclasses thereof). If there is any guru lurking around, I'd like to know if it is expected that, upon sending a string for glyph generation through
-(void)generateGlyphsForGlyphStorage: desiredNumberOfCharacters: glyphIndex: characterIndex:, the callback (-(void)insertGlyphs: length: forStartingGlyphAtIndex: characterIndex:) gets invoked more than once with chunks of the original string corresponding to words or spaces (that is to say, the shared NSGlyphGenerator splits the string into words and spaces)?

Actually, that's more than fine for my purpose, but, precisely, it seems even too fine to be true, so I'm a bit cautious! :)

Thanks!
Vincent_______________________________________________

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: NSGlyphGenerator behavior
      • From: Aki Inoue <email@hidden>
  • Prev by Date: Re: Core Data : Multiuser ?
  • Next by Date: How to implement lazy loading with a proxied array
  • Previous by thread: Stuck on programmatic scrolling (scrollToBottom sample code)
  • Next by thread: Re: NSGlyphGenerator behavior
  • Index(es):
    • Date
    • Thread