contents.gifindex.gifprev1.gifnext1.gif

DEFAULT-FONT

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 Book 3, Chapter 6, section 6.6). 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.