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 II


Initialization Sequence

The startup code for enabling all available 2-byte script systems and script utility routines is in WorldScript II. WorldScript II is located in the Extensions folder; its file type is 'scri' and its creator is 'doub'.

At system startup, all extension files in the Extensions folder are executed; script files are executed before all other extensions.

At startup, WorldScript II does the following:

  1. It gets the total number of international bundle ('itlb') resources from the
    System Folder.
  2. For each bundle resource that belongs to a 2-byte script, WorldScript II

    • creates a script record and copies the byte-type table from the script's encoding/rendering ('itl5') resource into the script record
    • gets handles to all transliteration resources for that script and adds them to the script record
    • initializes the script's script record, a private data structure that holds information and addresses pertinent to that script


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996