• 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: Hiding Glyphs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding Glyphs


  • Subject: Re: Hiding Glyphs
  • From: Martin Wierschin <email@hidden>
  • Date: Fri, 5 Jun 2009 15:58:12 -0700

Is there any easy way, maybe using NSGlyphInfoAttributeName, to have a glyph not be drawn at all? Like maybe replacing it with some kind of empty glyph?

You might read this post (and Aki's followup):

	http://www.cocoabuilder.com/archive/message/cocoa/2008/3/10/200928

The link for source code still seems to be working.

I should point out that I want to hide characters in a text view that do not cause any advancement: diacriticals and such.

Since that's the case, and your text isn't editable, it might be simplest to add a color attribute that matches the background color (eg: white) to all these characters. Certainly that would be easier than messing with the typesetter.


~Martin

_______________________________________________

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


  • Follow-Ups:
    • Re: Hiding Glyphs
      • From: Philip White <email@hidden>
References: 
 >Hiding Glyphs (From: Philip White <email@hidden>)

  • Prev by Date: Re: Profiling a drag and drop operation
  • Next by Date: Replacing a tableView Cell with null
  • Previous by thread: Re: Hiding Glyphs
  • Next by thread: Re: Hiding Glyphs
  • Index(es):
    • Date
    • Thread