Note that there is an issue with this approach, which is that attribute runs that start in the middle of a grapheme cluster might result in odd behaviour wrt normalisation. However, it generally doesn't make sense to have such an attribute run (it's the equivalent of asking for e.g. a bold "o" with an italic umlaut, which makes no sense), it's just something that you might want to be aware of.

Sometimes it's desirable to have such attribute runs. One example is to highlight combining marks using a different foreground color than that of the base character.

~Martin

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to