Update:
After some more debugging, I noticed that the QTextLine recieved a worng position for the lines where the error ocurred (usually QPiontF(0,0)) but here it recieved a QPointF(0,10)
I haven't figuered out why this happens, but at least I was able to reset it using the QTextLine::setPosition(...) method.
If anyone is working with this type of text drawing i must add that you will need to manage the position of the linebreaks as these will need a different y-coordinate (usualy linenumber * lineHeight)
Greetings




Reply With Quote

Bookmarks