title: iText HeaderFooter -- page number appears on the next line
body: <p>I am creating a header with iText using the HeaderFooter object.<br>
  The page number is always appearing on the second line of the header, even though there is plenty of room on the first line, and I am not explicitly putting a line break there.  </p>
  
  <p>It seems that this problem only started when upgrading from iText 1.2 to iText 2.1.5, but I didn't notice anything obvious in the iText source code.  </p>
  
  <p>Has anyone else had this issue, or knows how to solve it?  </p>
  
  <pre><code>headString +=  viewReportTitle + "Page: ";
  //Setting the second param to true should append a page number at the end of the string
  HeaderFooter header = new HeaderFooter(new Paragraph(headString, iTextHeadingFont), true);
  header.setAlignment(Element.ALIGN_CENTER);
  iTextDoc.setHeader(header);
  </code></pre>
  
  <p>The output appears like this:</p>
  
  <pre><code>Report Title Page:
  1
  </code></pre>