Important: The information in this document is obsolete and should not be used for new development.
Determining Script Codes From Font Information
TheFontScript
,FontToScript
, andIntlScript
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 theGetScriptManagerVariable
andSetScriptManagerVariable
selectorssmFontForce
andsmIntlForce
. 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, toFALSE
. These flags are Script Manager variables, accessed through theGetScriptManagerVariable
function selectorssmForced
andsmDefault
.
Subtopics
- FontScript
- FontToScript
- IntlScript