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.


The average width, in logical units, of characters in the font.


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


See also


In the synergy.ini file,