Re: NSLayoutManager strangeness
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