Re: Arbitrary Attributes affect text layout
Re: Arbitrary Attributes affect text layout
- Subject: Re: Arbitrary Attributes affect text layout
- From: Douglas Davidson <email@hidden>
- Date: Tue, 2 Feb 2010 10:34:55 -0800
On Feb 2, 2010, at 9:48 AM, Philip White wrote:
> I have a problem I can't quite figure out. I have a program that displays some Hebrew text. I notice that at times some of the vowel markings are not displayed in the correct place. I figured out that this happened when I had applied some arbitrary attributes to that range of text.
> I was under the impression that one could set any key value pair not used by the Cocoa text system to a part of an attributed string without consequence.
I'd suggest you see what happens when you apply attributes to clusters, using rangeOfComposedCharacterSequenceAtIndex: et al., rather than to individual characters.
Douglas Davidson
_______________________________________________
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