setFont

open fun setFont(fontname: String)

Sets the currently-selected font.

Parameters

fontname

a font name like “Helvetica 12” or “Times Bold 18”