FONT_WIDTH
WTSupported in traditional Synergy on Windows
|
|
|
|
The FONT_WIDTH environment variable sets the width of the global font (in conjunction with TYPE_FACE and FONT_HEIGHT) if a global font is not otherwise specified.
Value
The average width, in logical units, of characters in the font.
Discussion
Synergy/DE on Windows uses the specified font width for application windows less than 132 columns. It is also used by Synergy DBL and the debugger. We recommend that you use the FONT_GLOBAL environment variable rather than FONT_WIDTH.
If the width is 0, the aspect ratio of the device is matched against the digitization aspect ratio of the available fonts to find the closest match, determined by the absolute value of the difference.
If the current font is not available in the requested size, Synergy/DE on Windows substitutes the font that most closely resembles the font that was specified.
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
- Using fonts on Windows for the hierarchy used to determine the global font
- FONT_GLOBAL environment variable
Examples
In the synergy.ini file,
[synergy] FONT_WIDTH=0