Expression painter:currentfontsize() returns the size in points of the current font.