< Previous | Contents | Next >

Methods

FontList.AddFont(fontfile)

Adds the specified font to the global font list.

> Parameters:

fontfile (string) – fontfile

> Returns: success

> Return type: boolean

FontList.Clear()

Empties the global font list.


image


FontList.GetFontList()

Returns all font files in the global font list.

> Returns: fonts

> Return type: table

FontList.ScanDir([dirname])

Adds the specified dir to the global font list.

> Parameters:

dirname (string) – dirname