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
Routines


Determining Script Codes From Font Information

The FontScript, FontToScript, and IntlScript functions give you ways to determine a script code from font information. This information is subject to two control flags--the font force flag and the international resources selection flag. You can test and set these flags with the GetScriptManagerVariable and SetScriptManagerVariable selectors smFontForce and smIntlForce. For more information on the font force flag, see "Using the Font Force Flag" on page 6-24. For more information on the international resources selection flag, see "Using the International Resources Selection Flag" on page 6-25.

The routines start by initializing two result flags, the script-forced result flag and
the script-defaulted result flag, to FALSE. These flags are Script Manager variables, accessed through the GetScriptManagerVariable function selectors smForced
and smDefault.


Subtopics
FontScript
FontToScript
IntlScript

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996