ContentsIndexPreviousNext

DEFAULT_FONT

This variable defines which font to use for the DEFAULT_FONT (for a description of this font, see Format 3, ACCEPT FROM OBJECT in section 6.6 in Book 3, "Reference Manual"). When DEFAULT_FONT is set to "0" (the normal setting), the font used depends on the host system as follows:

System
Font Used
Graphical system
MEDIUM-FONT
Non-graphical system
FIXED-FONT

You can set DEFAULT_FONT to one of the following values to use a different font. The following words are valid settings:

Setting
Font Used
TRADITIONAL
TRADITIONAL-FONT
FIXED
FIXED-FONT
LARGE
LARGE-FONT
MEDIUM
MEDIUM-FONT
SMALL
SMALL-FONT

Due to the way the runtime initializes the windowing subsystem, the DEFAULT_FONT setting is effective only when it is placed in the configuration file or the host system's environment. Setting DEFAULT_FONT from inside a COBOL program has no effect.