Re: NSGlyph is still a puzzle
Re: NSGlyph is still a puzzle
- Subject: Re: NSGlyph is still a puzzle
- From: "Anabelle Masour" <email@hidden>
- Date: Tue, 22 Jan 2002 00:04:07 +0000
On Monday, January 21, 2002, at 03:46 PM, Anabelle Masour wrote:
- (unsigned)getGlyphsInRange:(NSRange)glyphsRange glyphs:(NSGlyph
*)glyphBuffer characterIndexes:(unsigned *)charIndexBuffer
glyphInscriptions:(NSGlyphInscription *)inscribeBuffer
elasticBits:(BOOL *)elasticBuffer
and look for the NSGlyphInscription inscribeBuffer and the
charIndexBuffer. This method has some undocumented other variables....
I must ask this :) What are elasticBits ?
This is simply a means for getting glyphs and associated attributes in
bulk. The glyph inscriptions here are equivalent to those that would be
returned by calling intAttribute:NSGlyphAttributeInscribe
forGlyphAtIndex: individually, and the elastic bits are equivalent to
the results of calling intAttribute:NSGlyphAttributeElastic
forGlyphAtIndex: individually. The bulk method is designed for
efficient retrieval of many glyphs and their attributes at once,
primarily by NSTypesetter.
Douglas Davidson
Yes. I guessed what GlyphInscribeBase and GlyphInscribeOverstrike means.
But I can not guess what GlyphAttributeElastic or GlyphAttributeInscribe or
GlyphAttributeSoft mean as "Description is forthcoming". I would like to
know if I can use this attribute information for something ?
<Anabelle
.........
Rien ne sert de courir si on n'est pas pressi
et rien ne sert de marcher si on n'est pas foutu de tenir debout.
_________________________________________________________________
Chat with friends online, try MSN Messenger:
http://messenger.msn.com