ALT_FONT_HEIGHT
WSupported on Windows
|
|
|
|
The ALT_FONT_HEIGHT environment variable sets the height of the alternate font (in conjunction with ALT_TYPE_FACE and ALT_FONT_WIDTH) if an alternate font is not otherwise specified.
Value
The height, in logical units, of the font.
Discussion
Synergy/DE on Windows uses the specified font height for application windows greater than or equal to 132 columns (if automatic font switching is enabled).
The font height can be specified in one of three ways:
- If the height is greater than 0, it is transformed into device units and matched against the cell height of the available fonts.
- If it is 0, a reasonable default size is used.
- If it is less than 0, it is transformed into device units, and the absolute value is matched against the character height of the available fonts.
If the current font is not available in the requested size, Synergy/DE on Windows substitutes the font that most closely resembles the specified font.
We recommend that you use the FONT_ALTERNATE environment variable rather than ALT_FONT_HEIGHT.
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 alternate font
- %U_WNDFONT routine for information on automatic font switching
- FONT_ALTERNATE environment variables
Examples
In the synergy.ini file,
[synergy] ALT_FONT_HEIGHT=-18