FONT_ALTERNATE
WSupported on Windows
|
|
|
|
The FONT_ALTERNATE environment variable sets the alternate global font.
Value
The name of a font palette entry.
Discussion
Synergy/DE on Windows uses the alternate global font for application windows greater than or equal to 132 columns and for any object that does not have its own specification, but only when automatic font switching is enabled.
We recommend that you use a fixed font as the alternate 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 alternate font
- %U_WNDFONT routine for information on automatic font switching
Examples
In the synergy.ini file,
[myapp] FONT_ALTERNATE=my_alt_font