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

< Previous PageNext Page > Hide TOC

Typographical Extras Feature Type

The typographical extras features type (kTypographicExtrasType) represents a collection of effects that are associated with sophisticated typography, such as substitution of en dashes for hyphens. Fonts that support the typographic extras feature type allow you to specify certain typographic conventions, using such selectors as those shown in Table B-26. This feature is noncontextual and nonexclusive.

Table B-26  Selectors for the typographical extras feature

Feature selector

Description

kHyphensToEmDashOnSelector

Allows the automatic replacement of two adjacent hyphens with an em dash. This is the default setting.

kHyphensToEmDashOffSelector

Prevents the automatic replacement of two adjacent hyphens with an em dash.

kHyphenToEnDashOnSelector

Allows the automatic replacement of the sequence space-hyphen-space (or the hyphen in the sequence numeral-hyphen-numeral) with an en dash.

kHyphenToEnDashOffSelector

Prevents the automatic replacement of the sequence space-hyphen-space (or the hyphen in the sequence numeral-hyphen-numeral) with an en dash.

kSlashedZeroOnSelector

Allows the forced use of the zero glyph with a slash, regardless of whether the font specifies a slashed zero as the default.

kSlashedZeroOffSelector

Prevents the forced use of the zero glyph with a slash, regardless of whether the font specifies a slashed zero as the default.

kFormInterrogbangOnSelector

Allows the automatic replacement of the sequence “?!” or “!?” with the font’s interrobang glyph.

kFormInterrogbangOffSelector

Prevents the automatic replacement of the sequence “?!” or “!?” with the font’s interrobang glyph.

kSmartQuotesOnSelector

Allows the automatic contextual replacement of straight quotation marks with curly ones.

kSmartQuotesOffSelector

Prevents the automatic contextual replacement of straight quotation marks with curly ones.

kPeriodsToEllipsisOnSelector

Allows the automatic replacement of three adjacent periods with an ellipsis.

kPeriodsToEllipsisOffSelector

Prevents the automatic replacement of three adjacent periods with an ellipsis.



< 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