• 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
Re: NSLayoutManager strangeness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLayoutManager strangeness


  • Subject: Re: NSLayoutManager strangeness
  • From: Heinrich Giesen <email@hidden>
  • Date: Wed, 10 Aug 2005 12:44:41 +0200


On 09.08.2005, at 20:00, Thomas Immich wrote:

We set up a NSTextStorage instance containing the string
"Zapfino" using the font Zapfino. We expected the - (unsigned)
numberOfGlyphs selector to return 6, since the characters "pf" should
be presented as a ligature, i.e. a single glyph. However, the
selector returns 7.

In font Zapfino the string "Zapfino" is only one glyph, a long ligature.
If you change this word (append a character) then only pf is a ligature
(I had fi expected as is in Apple Chancery).
Have a look at:
<http://developer.apple.com/samplecode/LayoutManagerDemo/ LayoutManagerDemo.html>
This app does not show glyphs. It can easily be fixed if you
know what the program does. (or drop me a mail)



-- Heinrich Giesen email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Prev by Date: RE: how to manage width of popuplist of a combobox???
  • Next by Date: Table view and filtering multiple columns
  • Previous by thread: Re: NSLayoutManager strangeness
  • Next by thread: Converting any NSImageRep to a 16 bits NSImageRep
  • Index(es):
    • Date
    • Thread