Setting Fonts on Windows

On Windows, use the MSFont keyword to specify fonts for use in Wave Widgets. The MSFont keyword is specified as a string of the following form:

MSFont = ’face_name, point size, attribute’

where face_name specifies the type face, and attribute specifies font attributes such as bold, italic, underline, etc.

For example: MSFont = ’Arial, 8, bold’

You can also specify Windows system fonts as shown below.

Windows System Fonts Corresponding Widget Fonts
ANSI_FIXED

Windows fixed-pitch (monospace) system font.

ANSI_VAR Windows variable-pitch (proportional space) system font.
DEFAULT_GUI Default font for user interface objects such as menus and dialog boxes.
DEVICE_DEFAULT The standard font for the current graphics device.
OEM_FIXED Original equipment manufacturer (OEM) dependent fixed-pitch (monospace) font.
SYSTEM The standard Windows variable-width system font.
SYSTEM_FIXED The standard, fixed-width Windows system font.

If the font you specify isn’t supported on your system, Windows substitutes another font, usually the system font.