Шрифт один и тот же во всём документе - Helvetica, однако, текст "Итого по договорам" выводится, а текст "Итого" после каждого договора - нет.
Код:
<staticText>
<reportElement
mode="Transparent"
x="7"
y="5"
width="91"
height="13"
forecolor="#000000"
backcolor="#FFFFFF"
key="element-94"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
</textElement>
<text><![CDATA[ Итого:]]></text>
</staticText>
Код:
<staticText>
<reportElement
mode="Transparent"
x="7"
y="16"
width="135"
height="13"
forecolor="#000000"
backcolor="#FFFFFF"
key="element-94"/>
<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
<font fontName="SansSerif" pdfFontName="Helvetica" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
</textElement>
<text><![CDATA[ Итого по договорам:]]></text>
</staticText>
Как видим, и там и там шрифт - Helvetica, и даже размер и начертание одинаковые. Ради интереса попробовал изменить fontName="Arial" на fontName="SansSerif" в первом куске - ничего не изменилось.