added proper lineheight handling, plus line size