<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[First line on a html page is half cut when I put an header]]></title><description><![CDATA[<p dir="auto">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</p>
<p dir="auto">so I tried "this":<a href="http://qt-project.org/faq/answer/is_it_possible_to_set_a_header_and_footer_when_printing_a_qtextdocument" target="_blank" rel="noopener noreferrer nofollow ugc">http://qt-project.org/faq/answer/is_it_possible_to_set_a_header_and_footer_when_printing_a_qtextdocument</a></p>
<p dir="auto">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</p>
<p dir="auto">Any advice?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/topic/16397/first-line-on-a-html-page-is-half-cut-when-i-put-an-header</link><generator>RSS for Node</generator><lastBuildDate>Wed, 23 Sep 2026 04:31:32 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/16397.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 02 May 2012 18:19:13 GMT</pubDate><ttl>60</ttl></channel></rss>