Home  Contents

fnt:name

Graphics Core4 Lua Commands

SYNOPSIS

  1. str = fnt:name()
  2. str = tostring(fnt)

DESCRIPTION

Returns the name of the font as it is stored inside the font file. This is not the file name of the font.

ERRORS

Raises an error if fnt is not a font handle.

EXAMPLE

>  > 
fnt = gfx.default_font() print (fnt:name())
Fixedsys Excelsior 12

SEE ALSO