![]() |
Script Attribute Constants |
Header: Script.h |
enum { smsfIntellCP = 0, smsfSingByte = 1, smsfNatCase = 2, smsfContext = 3, smsfNoForceFont = 4, smsfB0Digits = 5, smsfAutoInit = 6, smsfUnivExt = 7, smsfSynchUnstyledTE = 8, smsfForms = 13, smsfLigatures = 14, smsfReverse = 15, smfShowIcon = 31, smfDualCaret = 30, smfNameTagEnab = 29, smfUseAssocFontInfo = 28 };
The script can support intelligent cut and paste (it uses spaces as word delimiters).
The script has only 1-byte characters.
The script has both uppercase and lowercase native characters.
The script is contextual.
The script does not support font forcing (ignores the font force flag).
The script has alternate digits at $B0$B9. Arabic and Hebrew, for example, have their native numeric forms at this location in their character sets.
The script is initialized by the Script Manager. 1-byte simple script systems can set this bit to avoid having to initialize themselves.
The script uses the WorldScript I extension.
The script synchronizes keyboard with font for monostyled TextEdit.
Use contextual forms if this bit is set; do not use them if it is cleared.
Use contextual ligatures if this bit is set; do not use them if it is cleared.
Reverse right-to-left text to draw it in (left-to-right) display order if this bit is set; do not reorder text if this bit is cleared.
These constants are available for examining attributes in the script flags word. Bits above 8 are nonstatic, meaning that they may change during program execution. (Note that the constant values represent bit numbers in the flags word, not masks.)
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)