set_font


Description:

public void set_font (FontDescription? font_desc)

Sets the font used for rendering all text displayed by the terminal, overriding any fonts set using modify_font.

The terminal will immediately attempt to load the desired font, retrieve its metrics, and attempt to resize itself to keep the same number of rows and columns. The font scale is applied to the specified font.

Parameters:

this

a Terminal

font_desc

a FontDescription for the desired font, or null