• 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: drawGlyphsForGlyphRange layout issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawGlyphsForGlyphRange layout issue


  • Subject: Re: drawGlyphsForGlyphRange layout issue
  • From: Ross Carter <email@hidden>
  • Date: Sat, 22 Sep 2012 10:23:10 -0400

On Sep 21, 2012, at 8:33 PM, Graham Cox <email@hidden> wrote:

> NSLayoutManager adopts the NSGlyphStorage protocol. That protocol declares a method, -layoutOptions, and one of the flags it can return is NSShowInvisibleGlyphs. Simply returning that flag may be all you need to do.

I haven't kept up with recent developments, but the story used to be that showing invisibles worked only if the font included glyphs for whitespace characters. None of the OS fonts do so.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >drawGlyphsForGlyphRange layout issue (From: "email@hidden" <email@hidden>)
 >Re: drawGlyphsForGlyphRange layout issue (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: iOS:targeting iOS3 through iOS6
  • Next by Date: Re: Migrating to iPhone 5 screen size
  • Previous by thread: Re: drawGlyphsForGlyphRange layout issue
  • Next by thread: Re: drawGlyphsForGlyphRange layout issue
  • Index(es):
    • Date
    • Thread