FONT

Syntax

float_val = FONT( fnt );
Input arguments
string fnt Specifies the font to be used.

Return Values

Success:
float   true line width

Description

This function sets the current font. When the symbol exits the font is reset back to the default font. The only way currently to use multiple fonts in CADMATIC is via the 2D symbol interface.

The available set of fonts is loaded when the application starts as follows:

The work station configuration file loads a font set. Font sets are defined in the directory %PMS_HOME%\conf\font\FontSet. Font sets point to the actual font definition files which reside in the subdirectories of the directory %PMS_HOME%\conf\font.

Function Set

Text Functions

Related Functions

CENTER

DIREC

GET_TEXT_EXTENTS

SIZE

SLANT

TEXT