setFont
procedure setFont(fontFace, fontStyle, fontSize);
Sets the font to be used for displaying text.
The 'fontFace' can be any of the following predefined constants:
(FONT_STYLE_BOLD or FONT_STYLE_UNDERLINE) as the value for the font style.setFont will have no effect on those devices.
begin
setFont(FONT_FACE_SYSTEM, FONT_STYLE_BOLD or FONT_STYLE_UNDERLINE, FONT_SIZE_LARGE);
drawText('Hello world', 0, 0);
repaint;
delay(1000);
end.
See also: setDefaultFont, setColor, repaint