First line on a html page is half cut when I put an header
-
I explain myself : I had to print html pages from a QTextDocument, it worked. Then I wanted to have an header and a footer for each page : kind of : copy rights, ...whatever
so I tried "this":http://qt-project.org/faq/answer/is_it_possible_to_set_a_header_and_footer_when_printing_a_qtextdocument
and it works! My only problem is that my first line of every page is cut...I see about 75% of my words...I tried to fix it by changing the value of the QRect but I could not figure out how to do it. I just found out that the problem is not with the writeText : when I write the text somewhere else, it doesn't affect the other lines
Any advice?
Thanks