Command: font

Syntax

font <name> {, <file/name> }

      or

font <name> = <ident>

Description

Create or redefine a font identifier.

Parameters

Switches

Notes

Graphic fonts are displayable at any angle or size. System fonts are fixed sized fonts, only displayable in a horizontal direction.

As a rule, graphic windows use graphic fonts to display characters, and other window types use system fonts. However, there are graphic primitives (glabels) which may use system fonts.

Font identifiers can have global or application scope, but cannot have local scope. When local font identifiers are required, string identifiers should be used to reference the font to which the local identifier refers.

Examples

Create a graphic font.

font gothic, $MXSYS/fonts/gothgbt.fnt

Create a system font.

font vtsingle, -sys

Take a copy of a font.

font mygoth = gothic

See Also

Commands:

glabel, gtext, textstyle, walpha

Structures:

font

Utilities:

genfont