I tried your characters using font-extensions in iReport, These are the steps that I took
- Download (or use one on your pc) your desired ttf font (it need to support the characters), I used dejavu-serif.
-
Install the font in iReport or in Jasper soft studio (click links to understand how)
-
I used iReport 5.6 and did set the PDF-Encoding: Idenity-H (unicode with horizontal writing) and embedded the font in pdf. This was the code of my textField
<textField> <reportElement x="8" y="15" width="100" height="20" uuid="41dc1200-091f-4799-a1d2-4622f88a0e84"/> <textElement> <font fontName="DejaVu Serif" size="13"/> </textElement> <textFieldExpression><![CDATA[":$£Ω€απ⅔:"]]></textFieldExpression> </textField>
-
-
Export the font extension (this creates a .jar)
- Add the jar to your classpath.
- Export to pdf and enjoy the result.
This is an example of how to use any arbitrary font, if you like to
useDejaVu Sans
orDejaVu Serif
you can just include the jasper
report fonts library in classpath, hence these font are already included and mapped in library