NSGlyph is still a puzzle
NSGlyph is still a puzzle
- Subject: NSGlyph is still a puzzle
- From: "Anabelle Masour" <email@hidden>
- Date: Sat, 19 Jan 2002 20:26:17 +0000
I read this
file:///Developer/Documentation/Cocoa/TasksAndConcepts/ProgrammingTopics/CharsAndGlyphs/index.html.
I think I understand now, that a NSGlyph is managed by a NSLayoutManager. I
have been told that the string "fi" can produce different glypy(s) than
"if". It seems to depend on the text. I don't understand how NSBezierPath
can use a NSGlyph and NSFont to append to its path with -
(void)appendBezierPathWithGlyph:(NSGlyph)aGlyph inFont:(NSFont *)fontObj,
and that there is no relationship to any text or NSLayoutManager.
Another question, is the value of NSGlyph valid if there is no
NSLayoutManager ?
Can I store NSGlyph values to a file ? Is a NSGlyph of Helvetica the same
value as a NSGlyph of Courier ?
Will two NSLayoutManager always produce the same NSGlyph values for the same
text and font?
Puzzled
<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.
_________________________________________________________________
Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp.