• 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
NSGlyph is still a puzzle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: NSGlyph is still a puzzle
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Printing and margins
  • Next by Date: Re: How to implement a spreadsheet?
  • Previous by thread: Printing and margins
  • Next by thread: Re: NSGlyph is still a puzzle
  • Index(es):
    • Date
    • Thread