Not sure, but it looks like some artifact left over from the translate. Try this instead:Qt Code:
// Draw text content //painter->translate(QPointF(MARGIN, MARGIN)); document()->setDocumentMargins(MARGIN);To copy to clipboard, switch view to plain text mode
Bookmarks