All Functions Modules Pages
font

Functions

FONT font.load (STRING path)
 Load a font for use it later. More...
 
NIL font.setdefault (FONT fnt)
 Sets a font as default for the function screen.print(). More...
 
NIL font.setdefault (STRING path)
 Sets a font as default for the function screen.print(). More...
 

Detailed Description

Manage pgf fonts.

Function Documentation

FONT font.load ( STRING  path)

Load a font for use it later.

Parameters
pathPath to the font to load (pgf format).
Returns
Font object type, ready to use.
NIL font.setdefault ( FONT  fnt)

Sets a font as default for the function screen.print().

Parameters
fnta font already loaded. You can omit this argument, then returns the OneLua's default font.
Returns
Nothing.
NIL font.setdefault ( STRING  path)

Sets a font as default for the function screen.print().

Parameters
pathPath to the font to load (pgf format).
Returns
Nothing.