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 /
Appendix A - Built-in Script Support / WorldScript I


Saving User Preferences

The Operating System and some individual script systems use control panels to let users change text-related system settings, such as line direction, associated font, kashida preferences, and caret style. Script systems may store these settings in a script preferences file in the Extensions folder. This file contains resources of type 'CNFG', whose resource ID numbers are equal to the script codes of the script systems they represent.

As noted under "Initialization Sequence" on page A-28, when installing a script system WorldScript I looks for a script preferences file in the Preferences folder. For each script system it initializes, WorldScript I loads the 'CNFG' resource for that script from the script preferences file and uses it to reconfigure the script.

Note
The 'CNFG' resource in the script preferences file has exactly the same format as the script configuration table in the encoding/rendering resource. However, it may not have exactly the same elements. The types of configuration settings specified in the 'itl5' resource may be different from those settable by the user through a control panel.
See the discussion of the encoding/rendering resource in the appendix "International Resources" in this book for a description of the script configuration table.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996