Skip to content

getName()

Return the font's name.

Parameters

Once an object font has been created, you can use the following function:

font.getName()

Returns

return name

Value Type Description
name str The font name, for example "Serif".