The letter case feature type (kLetterCaseType) is used to specify changes to letter case in scripts where case has meaning. This feature changes only the appearance of the letter; the string typed by the user remains invariant. If the string is typed using lowercase letters, the string remains lowercase.
Figure B-9 shows text in which different letter case feature selectors have been applied. The first line of text is drawn with no case conversion. The second line is drawn with the all caps feature enabled. The third line is drawn with the initial caps and small caps feature enabled.
Note: Contrary to common perception, the small caps style is not simply the use of capital letters in a smaller point size. If the font contains true small caps glyphs, you can specify them with a letter case feature selector, and ATSUI uses them.
If the font supports the letter case feature type, you can select features that specify case changes such as those shown in Table B-13. This is an exclusive feature type.
Feature selector | Description |
|---|---|
Specifies no case conversion. This leaves letters in whichever case the user specifies. This is the default setting. | |
Converts all letters to uppercase. This feature is noncontextual. | |
Converts all letters to lowercase. This feature is noncontextual. | |
Converts the first letter of a word to uppercase and the remaining letters to lowercase. This feature is contextual. | |
Converts the first letter of a word to uppercase and the remaining letters to small caps. This feature is contextual. |
Last updated: 2007-07-10