Jump to content
We've recently updated our Privacy Statement, available here ×

ajay.mohite2

Members
  • Posts

    7
  • Joined

  • Last visited

ajay.mohite2's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi Hittle, Thanks a lot for your reply. It was very helpful. As suggested by you, I tried to figure out font extension feature. I was struggling for last two days but ended up with no luck. On different forums people have provided steps to use font extension and i followed the same, created font_extension.jar which has fonts, fonts.xml and jasper_extension.properties inside. Also added the jar file in my application classpath. But the question still open here, how application will understand whethere to use fonts.xml and properties file? How the application will parse fonts.xml and properties file and use the fonts from the jar file. Because simply adding the jar file in classpath not solving the problem here. I am still getting the error Error in generating PDF File for :D:Ajay123temp_1.pdfexception is net.sf.jasperreports.engine.JRException: Could not load the following font : pdfFontName : Helvetica pdfEncoding : Identity-H isPdfEmbedded : false Please suggest. Regards, Ajay
  2. Hi Hittle, Thanks a lot for your reply. It was very helpful. As suggested by you, I tried to figure out font extension feature. I was struggling for last two days but ended up with no luck. On different forums people have provided steps to use font extension and i followed the same, created font_extension.jar which has fonts, fonts.xml and jasper_extension.properties inside. Also added the jar file in my application classpath. But the question still open here, how application will understand whethere to use fonts.xml and properties file? How the application will parse fonts.xml and properties file and use the fonts from the jar file. Because simply adding the jar file in classpath not solving the problem here. I am still getting the error Error in generating PDF File for :D:Ajay123temp_1.pdfexception is net.sf.jasperreports.engine.JRException: Could not load the following font : pdfFontName : Helvetica pdfEncoding : Identity-H isPdfEmbedded : false Please suggest. Regards, Ajay
  3. Just to add on, I have one more doubt here. You can set pdfFontname ONLY if you know exactly which language the data is coming from.But lets suppose in my application user can have his personal details entered in either english or chinese or korean or thai etc.. and i need to generate PDF of personal details then setting pdfEncoding to specific chinese language will not help here. correct? is there any GENERIC way to handle internationalisation?
  4. I still have one doubt here, You can set pdfFontname ONLY if you know exactly which language the data is coming from.But lets suppose in my application user can have his personal details entered in either english or chinese or korean or thai etc.. and i need to generate PDF of personal details then setting pdfEncoding to specific chinese language will not help here. correct? is there any GENERIC way to handle internationalisation?
  5. Just to add on, I have one more doubt here. You can set pdfFontname ONLY if you know exactly which language the data is coming from.But lets suppose in my application user can have his personal details entered in either english or chinese or korean or thai etc.. and i need to generate PDF of personal details then setting pdfEncoding to specific chinese language will not help here. correct? is there any GENERIC way to handle internationalisation?
  6. I still have one doubt here, You can set pdfFontname ONLY if you know exactly which language the data is coming from.But lets suppose in my application user can have his personal details entered in either english or chinese or korean or thai etc.. and i need to generate PDF of personal details then setting pdfEncoding to specific chinese language will not help here. correct? is there any GENERIC way to handle internationalisation?
  7. Hi, We are using Jasper reports to generate PDFs in our web application (java/J2ee) from last 3-4 years. It is working fine till we key in english characters. But per new requirement we need to provide support for internationalisation(Korean/Thai/Simplified Chinese/Traditional Chinese). when we tried generating PDF through web application , ??????? getting displayed for all non english characters. Jars used jasperreports-1.1.1.jar itext-1.1.4.jar snippet from template.jrxml After going through forums/blogs, found that it is something related to fonts/encodings. Per suggestion tried using 'Identity-H', but application throws below exception Error in generating PDF File for :D:Ajay123temp_1.pdfexception is net.sf.jasperreports.engine.JRException: Could not load the following font : pdfFontName : Helvetica pdfEncoding : Identity-H isPdfEmbedded : false Any suggestion? please let me know if you need further details on this
×
×
  • Create New...