Re: Hyphenation... hm...
Re: Hyphenation... hm...
- Subject: Re: Hyphenation... hm...
- From: Mike Ferris <email@hidden>
- Date: Sat, 7 Dec 2002 09:49:54 -0800
Hyphenation in the text system is dynamic. It does not cause hyphen
characters to be inserted in the actual text.
If you just want to freeze-dry the hyphenated text you might try
looking for them in the NSLayoutManager's glyphs (hyphen glyphs are
inserted by the typesetter into the layout manager, which is how they
wind up appearing, but no hyphen characters go into the text storage).
If you go this route, I would suggest reading the doc enough to become
familiar with the difference between characters and glyphs and how to
deal with both in Cocoa's text system... Also be aware that it is
possible that hyphen glyphs (like all glyphs) are different values for
different fonts...
Mike Ferris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.