Important: The information in this document is obsolete and should not be used for new development.
FontScript
TheFontScript
function returns the script code for the current script. The current script is usually the font script.
FUNCTION FontScript: Integer;DESCRIPTION
TheFontScript
function returns a script code. All recognized script codes and their defined constants are listed on page 6-52.FontScript
returns only explicit script codes (\xD1 0).If the font of the active graphics port is Roman and the font force flag is
TRUE
, the script code returned is that of the system script and the script-forced result flag is set toTRUE
.If the font of the active graphics port is non-Roman, the state of the font force flag is ignored.
If the script system corresponding to the font of the active graphics port is not installed and enabled, the script code returned is that of the system script and the script-defaulted result flag is set to
TRUE
.SPECIAL CONSIDERATIONS
FontScript
may move memory; your application should not call this function at interrupt time.