rupali.koshti Posted June 22, 2016 Share Posted June 22, 2016 I have different issue. when I run my pdf report having "Marathi" language unicode characters through JasperReport tool, it runs just fine. When I run it through java code, although after applying fonts extension, characters are not showing properly. characters having joints are not showing up properly although they are saved properly in DB (MySql) and displaying well as expected in jsp/html. e.g. "पर्वती रॉ वॉटर" (correct one) getting displayed as "पर् वती रॉ वॉटर" (incorrect, ignore space that I included as this message html converting it to right ) in PDF from java. Will you please help me here. This is killing me for days now. Link to comment Share on other sites More sharing options...
lucianc Posted June 22, 2016 Share Posted June 22, 2016 If you are using JasperReports 6.2.0 or newer and a font extension with Identity-H PDF encoding, it should work fine. If it doesn't please attach the JRXML and the font extension that you are using.Regards,Lucian Link to comment Share on other sites More sharing options...
rupali.koshti Posted June 28, 2016 Author Share Posted June 28, 2016 Thanks for reply,but it's doesn't work . I uesd maven dependancy of jasperreports 6.2.0 in my maven+spring web application : <dependency> <groupId>net.sf.jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>6.2.0</version></dependency> I have attached jrxml file and it's font extension with Identity-H PDF encoding. I am using Arial Unicode MS font. for that I am using .ttf file of arialUnicodeMS but also it's does not work. I wants to access it with my java spring web application, marathi language in pdf is not showing properly. please, reply urgently. Link to comment Share on other sites More sharing options...
rupali.koshti Posted June 28, 2016 Author Share Posted June 28, 2016 Thanks for reply,but it's doesn't work . I uesd maven dependancy of jasperreports 6.2.0 in my maven+spring web application : <dependency> <groupId>net.sf.jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>6.2.0</version></dependency> I have attached jrxml file and it's font extension with Identity-H PDF encoding. I am using Arial Unicode MS font. for that I am using .ttf file of arialUnicodeMS but also it's does not work. I wants to access it with my java spring web application, marathi language in pdf is not showing properly. please, reply urgently. Link to comment Share on other sites More sharing options...
lucianc Posted June 29, 2016 Share Posted June 29, 2016 I made a test with Arial Unicode MS in 6.2.0 and "पर्वती रॉ वॉटर" was displayed properly in PDF, see attached screenshot.Reproducing the problem that you are seeing requires a detailed (and self contained) test case.Regards,Lucian Link to comment Share on other sites More sharing options...
rupali.koshti Posted June 30, 2016 Author Share Posted June 30, 2016 thanks Lucian,I think you are giving me screenshot of TIBCO Jaspersoft studio export to pdf file.it is working correctly in designer studio.But, when I export jrxml file through java code :printFile = JasperFillManager.fillReportToFile(sourceFile, parametersMap,connectionForJasper);JasperExportManager.exportReportToPdfFile(printFile,pdfFile);"पर्वती रॉ वॉटर" (correct one) getting displayed as "पर् वती रॉ वॉटर" .In Java spring + maven using dependancy of <dependency> <groupId>net.sf.jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>6.2.0</version></dependency> Plz, give me solution when using through Java code. Link to comment Share on other sites More sharing options...
lucianc Posted June 30, 2016 Share Posted June 30, 2016 Can you attach a PDF file that shows the problem? Link to comment Share on other sites More sharing options...
Solution rupali.koshti Posted July 1, 2016 Author Solution Share Posted July 1, 2016 ok. 'रजेचे रजिस्टर' (correct one ) but in pdf when creating through java code it look like this. Link to comment Share on other sites More sharing options...
lucianc Posted July 1, 2016 Share Posted July 1, 2016 Can you please attach a PDF file (not screenshot). 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