FONT_GLOBAL
WSupported on Windows
|
|
|
|
The FONT_GLOBAL environment variable sets the global font.
Value
The name of a font palette entry.
Discussion
Synergy/DE on Windows uses the global font for the following: application windows less than 132 columns, application windows greater than or equal to 132 columns (if automatic font switching is disabled), and any object that does not have its own font specification.
We recommend that you use a fixed font as the global font when doing non-Toolkit processing.
When you use any of the FONT_ initialization settings and use the I_FLDMOD subroutine to change the type of a field (for example, from alpha to numeric), be aware that the corresponding font isn’t automatically applied. To update the font, use the D_FLD_FONT option for I_FLDMOD.
Setting location
The environment or the [synergy], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).
Used by
Runtime
See also
- FONT environment variable for defining font palette entries
- Using fonts on Windows for the hierarchy used to determine the global font
- %U_WNDFONT routine for information on automatic font switching
Examples
In the synergy.ini file,
[rps] FONT_GLOBAL=my_app_font