FONT (Select a font)

The FONT command sets a new font to be used for subsequent text and numbers.

Command Syntax:

FONT name

Command Parameters:

name

The name of the font. The font may either be any True Type font installed on the computer, or may be selected from the available Geosoft stroke fonts. To select a True Type font, add "(TT)" to the font name. For example: FONT "Time New Roman(TT)".

By default, the font type is assumed to be a Geosoft stroke font. Stroke font sets are defined in GFN files, which are located in the GEOSOFT directory and have extension GFN. The following stroke fonts are available:

Sr

simplex roman

Ss

simplex script

Cr

complex roman

Ci

complex italic

Tr

triplex roman

Ti

triplex italic

Dr

duplex roman

Cs

complex script

Sg

simplex Greek

Cg

complex Greek

Es

equal-spaced simplex roman

Fast

fast but ugly

Russian

a simple Cyrillic font

If a Geosoft font name conflicts with a True Type font name, the Geosoft font can be specified explicitly by adding "(GFN)" to the font name. For example:

FONT "tr(GFN)"
Example:

The FONT command causes an attribute override to be used whenever text is placed in the plot file.

MDFF M1

FONT cr

TEXT 1,5,1,0,"Centered Title"

FONT "Arial(TT)"

TEXT 1,3,1,0,"True Type Sub-Title"

This loads font file CR.GFN (Complex Roman) and then plots subsequent text using this font.

  • This command is part of the MAPPLOT GX.