crazybugs Posted September 10, 2009 Share Posted September 10, 2009 I use xml file with korean pdf font name "HYGoThic-Medium". I have not mentioned any font name for jasper. The report shows proper value in viewer. But on saving in pdf it shows truncated values. Post Edited by crazybugs at 09/10/2009 09:59 Link to comment Share on other sites More sharing options...
Teodor Danciu Posted September 10, 2009 Share Posted September 10, 2009 Hi, And why exactly you did not specify a value for fontName?What made you think that attribute is optional? You need to read this FAQ:http://jasperforge.org/uploads/publish/jasperreportswebsite/trunk/faq.html?group_id=252#FAQ25 You also need to look into the /demo/samples/unicode sample provided with the JR project package.I suggest you use font extension support, which was introduced in recent versions of JR and thus you would only have to care about the fontName attribute and nothing else, because the TTF file fonts would be mapped in the font extension configuration file. An example of a font extension is under the /demo/fonts folder and it is used by all samples. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
crazybugs Posted September 11, 2009 Author Share Posted September 11, 2009 Is there any property which I can set for the data fields since the truncation problem appears only in case of saved pdf and does not appear in jasper viewer?? Link to comment Share on other sites More sharing options...
Teodor Danciu Posted September 11, 2009 Share Posted September 11, 2009 Hi, If you are asking such question, it means you did not understand what the problem is, and I cannot explain it any better.You are not using fonts correctly and you have to address this. There is no setting to do the work for you. Thank you,Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now