Expression painter:setfontsize(size) changes the size of the current font. Argument size must be a positive number.
painter:setfontsize(size)
size