RegisterFontFile()

Syntax

Result = RegisterFontFile(FileName$)
Description
Register a font file for use with the LoadFont() command. All fonts contained in the file are then available.

Parameters

FileName$ The file containing the font. The file must be in TrueType format.

Return value

Returns nonzero if the file was sucessfully registered.

Remarks

The font file is registered for the current program only. This means that the font(s) are not accessible by other programs and will be unregistered when the program ends. No system-wide changes are made by this command.

See Also

LoadFont()

Supported OS

All

<- LoadFont() - Font Index