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

fnt:close, fnt:first_char, fnt:last_char, fnt:ascent, fnt:descent, fnt:height, fnt:lbearing, fnt:maxwidth, fnt:minwidth, fnt:rbearing, fnt:width, gcx:font, gfx.default_font, gfx.font