Quote Originally Posted by high_flyer View Post
What it is you want to do?
Why QPainter::drawText() (not addText()) is not good for you?
Control chars such as '\n' can be used by both versions, since both use QString, in that sense, there is no difference between the two.
I can use QPainterPath to get the text outline, while QPainter can't.

as my tested, QPainterPath does not supoort such path.addText(myPoint,myFont,"hello\n world!"); The control char '\n' will be ignored in above statment.