title: exported PDF in Jasper Report lost last line but IReport designer works fine
body: <p>I have an issue related to wrapping of text in pdf format. i have use below jrxml and datasource to generete pdf, and it works fine in iReport preview mode. However, it lost last line in exported PDF. It only triggered when the text width was very close to the field width</p>
  
  <p>Anybody have and idea of what's could by wrong?</p>
  
  <hr>
  
  <p>Here is the JRXML source</p>
  
  <pre><code>&lt;jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report3" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="515" leftMargin="40" rightMargin="40" topMargin="100" bottomMargin="20" uuid="95b76e31-975e-4830-af1c-53ca2b77f1dc"&gt;
  &lt;queryString language="xPath"&gt;
      &lt;![CDATA[/pdfg_report_data//record-detail]]&gt;
  &lt;/queryString&gt;
  &lt;field name="examination" class="java.lang.String"&gt;
      &lt;fieldDescription&gt;&lt;![CDATA[examination]]&gt;&lt;/fieldDescription&gt;
  &lt;/field&gt;
  &lt;detail&gt;
      &lt;band height="31" splitType="Stretch"&gt;
          &lt;textField isStretchWithOverflow="true"&gt;
              &lt;reportElement x="173" y="15" width="322" height="15" uuid="e1ef4821-5eae-4bc3-8a8b-ac0a6d58b0f1"/&gt;
              &lt;box topPadding="1"/&gt;
              &lt;textElement&gt;
                  &lt;font fontName="Times New Roman" size="11" isBold="false" pdfEncoding="Cp1251"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$F{examination}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
      &lt;/band&gt;
  &lt;/detail&gt;
  &lt;/jasperReport&gt;
  </code></pre>
  
  <p>Here is the XML datasource</p>
  
  <pre><code>&lt;pdfg_report_data&gt; 
  &lt;record-detail&gt;
      &lt;examination&gt;CT Thorax(Plain+Contrast), CT Aen(Plain+Contrast), CTabcd(Plain+Contrast), CT Nasopharynx(Plain+Contrast), CT qwerasdf&lt;/examination&gt;
  &lt;/record-detail&gt;
  &lt;/pdfg_report_data&gt; 
  </code></pre>