Important: The information in this document is obsolete and should not be used for new development.
Replacing a Script System's Default Routines
The four Script Manager routines described in this section allow you to access or replace the text-manipulation and text-display routines in WorldScript I, the system extension for 1-byte complex script systems. The functionGetScriptUtilityAddress
and the procedureSetScriptUtilityAddress
work with the script utilities routines. The functionGetScriptQDPatchAddress
and the procedureSetScriptQDPatchAddress
work with patches of the QuickDraw routinesStdText
,StdTxMeas
, andMeasureText
, and the Font Manager routineFontMetrics
.For more information on how to use these calls, see the appendix "Built-in Script Support" in this book.
For
GetScriptUtilityAddress
andSetScriptUtilityAddress
, these are the valid values for theselector
parameter:For
GetScriptQDPatchAddress
andSetScriptQDPatchAddress
, these are the valid values for thetrapNum
parameter:
QuickDraw patch trapNum value _StdText $A882 _StdTxMeas $A8ED _MeasureText $A837 _FontMetrics
$A835
Subtopics
- GetScriptUtilityAddress
- SetScriptUtilityAddress
- GetScriptQDPatchAddress
- SetScriptQDPatchAddress