Einen Style hinzufügen zur dynamischen Änderung der Schriftgröße

<style name="style1" isDefault="true" markup="styled" fontName="Arial" fontSize="10" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false">
		<conditionalStyle>
			<conditionExpression><![CDATA[$F{strlieferantenname}.length() > 2]]></conditionExpression>
			<style fontSize="6"/>
		</conditionalStyle>
	</style>

Es muss ein weiterer Arbeitschritt außerhalb des iReport durchgeführt werden! (XML-Editor)

Das zu ändernde Textelement muss auskommentiert werden

<textField evaluationTime="Report" isBlankWhenNull="true">
					<reportElement style="style1" stretchType="RelativeToBandHeight" mode="Transparent" x="0" y="0" width="248" height="12" isRemoveLineWhenBlank="true" forecolor="#010101">
						<property name="net.sf.jasperreports.export.pdf.tag.h1" value=""/>
						<propertyExpression name="net.sf.jasperreports.text.truncate.at.char"><![CDATA[$F{stranrede}]]></propertyExpression>
					</reportElement>
					<!--<textElement>
						<font fontName="Arial" size="9"/>
					</textElement>-->
					<textFieldExpression class="java.lang.String"><![CDATA[$F{strlieferantenname}]]></textFieldExpression>
				</textField>