Re: Hiding Glyphs
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