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

< Previous PageNext Page > Hide TOC

Ruby Kana Feature Type

Ruby text is a run of text associated with another run of text (the base text), usually used to annotate the base text. Ruby text is often used to provide annotations or indicate pronunciation for Asian languages. Figure B-18 shows ruby text—characters drawn in a smaller point size placed above the base text.


Figure B-18  Ruby text above the base text

Ruby text above the base text

You can select or deselect ruby variant kana glyphs for the Hiragino font by using the ruby kana feature type (kRubyKanaType) with the selectors such as shown in Table B-21.

Table B-21  Selectors for the ruby kana feature type

Feature selector

Description

kRubyKanaOffSelector

Do not use ruby variant glyphs. This is the default setting.

kRubyKanaOnSelector

Use ruby variant glyphs.

kNoRubyKanaSelector

Do not use ruby variant glyphs. This is deprecated; instead use kRubyKanaOffSelector.

kRubyKanaSelector

Use ruby variant glyphs. This is deprecated; instead use kRubyKanaOnSelector.



< 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