added painter to set font (does not work)