• 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: Valid glyphs in NSLayoutManager
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Valid glyphs in NSLayoutManager
      • From: Douglas Davidson <email@hidden>
References: 
 >Re: Valid glyphs in NSLayoutManager (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: Valid glyphs in NSLayoutManager
  • Next by Date: Re: cocoa-dev digest, Vol 2 #1226 - 17 msgs
  • Previous by thread: Re: Valid glyphs in NSLayoutManager
  • Next by thread: Re: Valid glyphs in NSLayoutManager
  • Index(es):
    • Date
    • Thread