Related Worldwide Components
Related Worldwide Components
The Figure below illustrates all the related worldwide system software
components, including the Macintosh Script Management System, which
consists of the Script Manager and one or more script systems. Each script
system contains its own script system routines (including special
font-mapping routines, if necessary), fonts, international resources ('itlb',
'itl0', 'itl1', 'itl2', 'itl4', and optional 'itl5'), keyboard resources ('KCHR',
'kcs#', 'kcs4', 'kcs8', and optional 'itlk'), and one or more optional
script-configuration control panels. In addition, each script system may
replace one or more of the unique system resources 'KSWP', 'itlc', and 'itlm'.
The arrows between the components in the figure illustrate the flow of action
and information between the Script Manager and other worldwide
components.
The components of the Macintosh Script Management System
Here are some examples of the interaction of these components.
The Script Manager frequently calls routines in the
International Utilities Package, such as the IUGetIntl
function, to take advantage of information stored in the international
resources. For instance, the Script Manager
LowerText procedure uses data in the 'itl2' resource for case
conversion.
The International Utilities Package also uses the international
resources. For example, the IUTimeString procedure utilizes the
'itl0' resource for its time information, and the IUCompString
function applies information from the 'itl2' resource in its string
comparison.
When the user changes the keyboard script, the Script Manager
alters information in the keyboard driver data structures and loads the
selected 'KCHR' and possibly an 'itlk' resource for use by the
KeyTrans function. The Script Manager also updates the Keyboard
menu data structures.
Worldwide Control Panels and Desk Accessory
The Figure below shows examples of worldwide control panels and the Key
Caps desk accessory, including a script-configuration control panel.
Worldwide control panels and desk accessory
A script-configuration control panel lets users specify different
features in a script system. The Arabic Script System control panels
shown in the figure above let the user specify alignment, the font for
Roman text, and the type of calendar to be used. Another example of a
configuration control panel (not shown) is the Japanese Script System
control panel that allows users to specify input methods for Japanese
characters.
The Keyboard control panel allows users to specify a particular
keyboard layout and to control the way keyboards operate.
The Map control panel lets users indicate the location of their
Macintosh computer.
The Key Caps desk accessory shows the active keyboard layout in a
particular script using a specified font. See
Key Caps and the 'KCAP' Resource for details about version 7.0
enhancements, including dead-key feedback and additional key shapes.