After googling a lot I found somewhere that the arabic text is working in pdf if we set following attribute-:
pdfFontName:Arial,
pdfEncoding:Identity-H,
isPdfEmbedded:true
These attributes can be set in using jasperSoft Studio or by Java code. I have tried both but it throws following error:-
net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font :
pdfFontName : Arial
pdfEncoding : Identity-H
isPdfEmbedded : true
This works fine when I am using Helvetica/Courier/Times-Roman as the pdfFontName. Thus I am suspecting that the libraries are not getting Arial font
wherever it is looking for pdfFontName. Where should I provide the arial font to make it work. Any help will be appreciated.
[/code]