hello every one ,
I have use the pentaho report designer to show my report , it works very well .But there is some problem whem export to the pdf file .
I use the report to show chinese . In order to show the chinese , I have to set the font and encoding for each field , so now ,the report can show chinese correctly.
But there is still a problem that the chart in the report can't show chinese.Not only the title ,but also the data, it will all turn out to be null if they are chinese characters.
I use the pentaho report designer 3.0.0,I use the drawable field in the report deisgner , But i can't find the property of font and encoding in the drawable field like textfield .
And in my code , I use JFreeChart to be added to the report to set the drawable field ,I don't know how to set the font or encoding in the code to make the chinese to be shown.I have try some ways ,but it turn out to be failure.
In order to show my problem more clearly ,I will uploading my coding for you see . There are four files .The first and the second are the java code, the third is the xml file generate by the report deisgner , the fourth is the excel file export by the report ,the fifth is the pdf file export by the report .
I am really hope if there is some one who can help me .Wating for the answer.