Home  Contents

fnt:name

Graphics Core4 Lua Commands

SYNOPSIS

str = fnt:name()

DESCRIPTION

Returns the name of the font as it is stored inside the font file. This is not the file name of the font, but is the name of the font as it was stored in the font file itself.

ERRORS

Raises an error if fnt is not a font handle.

EXAMPLE

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

SEE ALSO