Re: CoreText: determine symbol's characteristics: diacritic/space/cluster/wordbreak/etc
Re: CoreText: determine symbol's characteristics: diacritic/space/cluster/wordbreak/etc
- Subject: Re: CoreText: determine symbol's characteristics: diacritic/space/cluster/wordbreak/etc
- From: Quincey Morris <email@hidden>
- Date: Sun, 18 Mar 2018 17:01:53 -0700
On Mar 18, 2018, at 13:11 , Ernesto Monde <email@hidden> wrote:
>
> I want to know same amount of information about the string/glyphs
> being processed - it would be great to know how to extract it.
You can get some of this information by comparing against CharacterSet (in
Swift, or NSCharacterSet in Obj-C). You can get some more sophisticated
information using NSLinguisticTagger. There is currently no mechanism to get
Unicode characteristics directly, although this is coming to Swift in the
future.
_______________________________________________
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