There is potential problem if you need to use unicode fonts.
In order to export Jasper to pdf, you need TrueType font that has all the characters that your exported pdf is going to contain.
I had a lot of trouble to find free font that has all the glyphs I need.
Found it on myfonts.
euro-sans-pro
All you need to write in jrxml file is:
<font pdffontname="myPathToFonts\fontFileName.ttf" pdfencoding="Identity-H">
No comments:
Post a Comment