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

< Previous PageNext Page > Hide TOC

Text Spacing Feature Type

The text spacing feature type (kTextSpacingType) specifies whether to use proportional, monospaced, or half-width forms of glyphs for characters in a font. Use of this feature is optional; for more precise control see “Kana Spacing Feature Type”t and “Ideographic Spacing Feature Type .”

Figure B-20 shows text drawn using the text spacing feature type. The first line uses the default text spacing for the font, which is proportional. The next line uses the monospaced text selector. The last line is drawn using the proportional text spacing selector, which in this case, is the same as the default.


Figure B-20  Normal, monospaced, and proportional text spacing

Normal, monospaced, and proportional text spacing

Table B-24 lists the selectors for the text spacing feature type. It is a noncontextual feature.

Table B-24  Selectors for the text spacing feature

Feature selector

Description

kProportionalTextSelector

Specifies the use of proportional forms of characters. This is the default setting.

kMonospacedTextSelector

Specifies the use of monospaced forms of characters.

kHalfWidthTextSelector

Specifies the use of half-width forms of characters.



< 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