NSGlyphGenerator behavior
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