Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

Linguistic Rearrangement Feature Type

The linguistic rearrangement feature type (kLinguisticRearrangementType) specifies whether or not linguistic rearrangement of glyphs (Indic-style) is to be used. This feature is on by default for fonts that represent South Asian scripts. Linguistic rearrangement is different than the notion of linguistic reordering, which happens when text from predominantly left-to-right scripts (such as Latin) is mixed with text from predominantly right-to-left scripts (such as Hebrew).

Figure B-12 shows two examples of the display of the word “hindi”, first with linguistic rearrangement on and then with it off. In both cases, the source text is the same. However, when rearrangement is on, ATSUI rearranges the glyphs so they are displayed appropriately.


Figure B-12  The word “hindi” drawn with rearrangement turned on and off

The word “hindi” drawn with rearrangement turned on and off

In some cases, users may not always want linguistic rearrangement to occur, preferring instead to enter characters in an “already rearranged” order. If a font supports the rearrangement feature type, you can either allow the default behavior (which is to perform rearrangement) or you can prevent it, using the selectors shown in Table B-15. This is a contextual feature type.

Table B-15  Selectors for the linguistic rearrangement feature

Feature selector

Description

kLinguisticRearrangementOnSelector

Allows the automatic rearrangement of certain glyphs as required by language rules. This is the default setting.

kLinguisticRearrangementOffSelector

Prevents the automatic rearrangement of certain glyphs as required by language rules.



< Previous PageNext Page > Hide TOC


Last updated: 2007-07-10




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice