QStringlog=QString().sprintf(" at rect %f, %f, %f, %f. Bounding rect is %f, %f, %f, %f",0.0,curY,width,height-curY,lastDrawnTextBoundingRect.x(),lastDrawnTextBoundingRect.y(),lastDrawnTextBoundingRect.width(),lastDrawnTextBoundingRect.height());
QStringlog=QString().sprintf(" at rect %f, %f, %f, %f. Bounding rect is %f, %f, %f, %f",0.0,curY,width,height-curY,lastDrawnTextBoundingRect.x(),lastDrawnTextBoundingRect.y(),lastDrawnTextBoundingRect.width(),lastDrawnTextBoundingRect.height());