jamesrquinnox.com Posted November 12, 2010 Share Posted November 12, 2010 Hi AllI am trying to create the post script file using jasper for Urdu and Vietnamese languages in Linux env. But in output I get the distortion in Urdu character which causes no meanings for the sentence. The same process worked fine for Arabic, Spanish, German and Russian. Here are the process steps. create the .jasper temple using ireport3.7.3(set the following attribute in form - font name =SaneSerif and PDFfont name is deprecated = DejaVoSans) In java code get the data from database in bean and send to jasper(jasperreport1.2.7.jar) which will produce the report and convert the output into ps file. (Working in suse 10.x env.) Send the ps file to printer. Is there any specific font for Urdu and Vietnamese? Please find the attachment for the outputs. Thanks in advance for help!!!! Link to comment Share on other sites More sharing options...
gkenche Posted November 16, 2010 Share Posted November 16, 2010 I am trying to generate Report in Russian language but it is generating with special characters in PDF file (In preview it is displaying in Russian characters only but pdf generated by iReport Designer and generated by Jasper Report Library are in special characters). Steps are followed 1. Designed the Report using XML Data source and Report Locale (Tools-->Options-->iReport -->Compilation and execution) is defined as Russian(Russia) 2. In Preview, the Report is displaying in Russian Language and xxx.jasper report is generated.3. Using Jasper Report Library, trying to generate PDF file using the xxx.jasper file and it is displaying as special characters. Please help me if you know the solution for this issue as you mentioned that Russian process is worked for you. Here is the Report contentDesign Phase-----------ЯвлÑетеÑÑŒ ли Ð’Ñ‹ инвалидом I или II группы, инвалидом-детÑтва, лицом, требующим поÑтоÑнного ухода,что подтверждено медицинÑким заключением PDF---I II , -, , ,, ,/ , - ?? Link to comment Share on other sites More sharing options...
jamesrquinnox.com Posted December 1, 2010 Author Share Posted December 1, 2010 HI Which font you are using for Russian Language. Use DejaVoSans font for it. andalso use the iText.jar for creation for PDF file. Thanks. 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