FONT_SIZE_ADJUST

This variable allows you to adjust the size of the standard font measurement that is computed for graphical controls (applies to variable-pitch fonts only). The value of FONT_SIZE_ADJUST is added directly to the computed standard font size. For example, a setting of 1 adds one pixel to the computed width of the font. Because the standard font measure is used to compute the width of nearly all controls, any adjustment made by this variable will have a significant impact on the layout of your screens.

The adjustment to the standard font measure is made after the wide font measure is computed (this is important to note because the wide font measure depends on the standard font measure; to change the wide font measure, use the FONT_WIDE_SIZE_ADJUST configuration variable).

After applying the adjustment, the runtime checks and ensures that the computed font measure is not less than one (1) or greater than the widest character in the font. If you find that the default size of most controls is slightly smaller than you prefer, you might try setting FONT_SIZE_ADJUST to a small value (typically 1).

Generally, it is recommended that FONT_SIZE_ADJUST (and FONT_WIDE_SIZE_ADJUST) be left at its default value of 0. You can also use negative values, but there is rarely a need to do so.

To optimize performance, the runtime computes the font sizes only occasionally. Although you can change the variable dynamically at runtime, the exact time when the new setting will take effect is difficult to predict. For this reason, we recommend that you either set it in your program prior to constructing your initial screen, or directly in the configuration file.

Note: This variable computes the width of a printer font in the same way that the width of a screen font is computed. You can suppress this behavior by compiling with the -C43 option.