Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Text /
Chapter 6 - Script Manager / Script Manager Reference
Constants


Script Codes

You can specify script systems with implicit and explicit script code constants in the script parameter of the GetScriptVariable and SetScriptVariable functions. The implicit script codes smSystemScript and smCurrentScript are special negative values for the system script and the font script, respectively.
Script constantValueExplanation (Continued)
smSystemScript-1System script
smCurrentScript-2Font script
smRoman0Roman
smJapanese1Japanese
smTradChinese2Traditional Chinese
smKorean3Korean
smArabic4Arabic
smHebrew5Hebrew
smGreek6Greek
smCyrillic7Cyrillic
smRSymbol8Right-to-left symbols
smDevanagari9Devanagari
smGurmukhi10Gurmukhi
smGujarati11Gujarati
smOriya12Oriya
smBengali13Bengali
smTamil14Tamil
smTelugu15Telugu
smKannada16Kannada/Kanarese
smMalayalam17Malayalam
smSinhalese18Sinhalese
smBurmese19Burmese
smKhmer20Khmer
smThai21Thai
smLaotian22Laotian
smGeorgian23Georgian
smArmenian24Armenian
smSimpChinese25Simplified Chinese
smTibetan26Tibetan
smMongolian27Mongolian
smGeez28Geez/Ethiopic
smEthiopic28= smGeez
smEastEurRoman29Extended Roman for Slavic and Baltic languages
smVietnamese30Extended Roman for Vietnamese
smExtArabic31Extended Arabic for Sindhi
smUninterp32Uninterpreted symbols

Note
The script code represented by the constant smUninterp is available for representation of special symbols, such as items in a tool palette, that must not be considered as part of any actual script system. For manipulating and drawing such symbols, the smUninterp constant should be treated as if it indicated the Roman script system rather than the system script; that is, the default behavior of uninterpreted symbols should be Roman.
Note
The script code represented by the constant smRSymbol is available as an alternative to smUninterp, for representation of special symbols that have a right-to-left line direction. Note, however, that the script management system provides no direct support for representation of text with this script code.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996