Re: Valid glyphs in NSLayoutManager
Re: Valid glyphs in NSLayoutManager
- Subject: Re: Valid glyphs in NSLayoutManager
- From: Brock Brandenberg <email@hidden>
- Date: Tue, 10 Sep 2002 15:16:07 -0500
Hi Douglas.
>
The value 0 is NSNullGlyph. The text system will occasionally insert
>
null glyphs into the glyph stream, typically in the case of ligatures,
>
where there are fewer glyphs than characters. The layout manager's
>
methods for converting from character range to glyph range and vice
>
versa will let you know what is going on.
Thanks, but when walking the glyph range and getting these null glyphs,
should they be ignored? I'm trying to accumulate the bounding rects for each
glyph and these null glyphs are appearing as valid glyphs (understandable)
with actual bounding rects (not understandable). Should they not be
invisible? If I use a different method and walk all the glyphs, including
the null ones, and append their bezier path geometry to a new bezier path, I
get what I expect - no glyph geometry for the null ones. Should the bounding
rects not behave the same way?
Brock
----- industrial design @ www.bergdesign.com ------
_______________________________________________
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.