I'm trying to print a PDF file that contains arabic characters in CentOS environment. This Work like a charm in Windows 7.
Here is my JRXML file that contains the used font:
<textField>
<reportElement key="" x="264" y="10" width="320" height="21" uuid="d7c106cd-74c4-4283-97d0-9c3de426ca68"/>
<textElement textAlignment="Center">
<font fontName="DejaVu Sans" size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$P{title}]]></textFieldExpression>
</textField>
I tried to put the Arial font in the jasper extensions and edit the font.xml file but still doesn't work.
I have also put the ttf files in the classpath and in the jdk/jre/lib/fonts but no way.
I'm sure that in the CentOS environment, the Arabic language is supported. I Think that I should understand the way that jasper load their fonts and used it.