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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com