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 B - International Resources / International Bundle Resource (Type ' itlb')


The ItlbExtRecord Data Type

The extended 'itlb' record adds font and style information to the standard 'itlb' record. Its structure, defined by the ItlbExtRecord data type, is as follows:

TYPE ItlbExtRecord = 
   RECORD
      base:             ItlbRecord;    {standard ItlbRecord}
      itlbLocalSize:    LongInt;       {size of script variables}
      itlbMonoFond:     Integer;       {default monospaced font}
      itlbMonoSize:     Integer;       {default monospaced size}
      itlbPrefFond:     Integer;       {not used}
      itlbPrefSize:     Integer;       {not used}
      itlbSmallFond:    Integer;       {default small font}
      itlbSmallSize:    Integer;       {default small font size}
      itlbSysFond:      Integer;       {default system font}
      itlbSysSize:      Integer;       {default system font size}
      itlbAppFond:      Integer;       {default application font}
      itlbAppSize:      Integer;       {default appl. font size}
      itlbHelpFond:     Integer;       {default Help font}
      itlbHelpSize:     Integer;       {default Help font size}
      itlbValidStyles:  Style;         {valid styles for script}
      itlbAliasStyle:   Style;         {styles to mark aliases}
   END;
Field Description
base
The standard'itlb' record for this script.
itlbLocalSize
The size of the record of script variables for this script system.
(A script system whose smsfAutoInit bit in its itlbFlags field is set needs to provide this information for the Script Manager.)
iltbMonoFond
The font family ID for the preferred font for monospaced text in this script system. The Script Manager initializes the high-order word of the script variable accessed through the selector smScriptMonoFondSize from this field.
itlbMonoSize
The default size for monospaced text in this script system. The Script Manager initializes the low-order word of the script variable accessed through the selector smScriptMonoFondSize from
this field.
itlbPrefFond
This field is currently unused.
itlbPrefSize
This field is currently unused.
itlbSmallFond
The font family ID for the default font to display small text in this script system. The Script Manager initializes the high-order word of the script variable accessed through the selector smScriptSmallFondSize from this field.
itlbSmallSize
The default size for small text in this script system. The Script Manager initializes the low-order word of the script variable accessed through the selector smScriptSmallFondSize from
this field.
itlbSysFond
The font family ID for the preferred system font in this script system. The Script Manager initializes the high-order word of the script variable accessed through the selector smSysFondSize from this field.
itlbSysSize
The default size for the system font in this script system. The Script Manager initializes the script variable accessed through the selector smScriptSysFond, and the low-order word of the script variable accessed through the selector smSysFondSize, from this field.
itlbAppFond
The font family ID for the preferred application font in this script system. The Script Manager initializes the script variable accessed through the selector smScriptAppFond, and the high-order word of the script variable accessed through the selector smScriptAppFondSize, from this field.
itlbAppSize
The default size for the application font in this script system.
The Script Manager initializes the low-order word of the script variable accessed through the selector smScriptAppFondSize from this field.
itlbHelpFond
The font family ID for the preferred font for Balloon Help in this script system. The Script Manager initializes the high-order word of the script variable accessed through the selector smScriptHelpFondSize from this field.
itlbHelpSize
The default size for the Balloon Help font in this script system.
The Script Manager initializes the low-order word of the script variable accessed through the selector smScriptHelpFondSize from this field.
itlbValidStyles
A style code that defines all of the valid styles for this script system. (In a style code, the bit corresponding to each QuickDraw style is set if that style is valid for the specified script. For example, the extend style is not valid in the Arabic script system.) The Script Manager initializes the script variable accessed through the selector smScriptValidStyles from this field.
itlbAliasStyle
A style code that defines the styles to use for displaying alias names in this script system. For example, in the Roman script system, alias names are displayed in italics. The Script Manager initializes the script variable accessed through the selector smScriptAliasStyle from this field.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996