Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Farsi fonts in Pdf with Jasper Report

  Asked By: Abelerd    Date: Nov 01    Category: Java    Views: 2207

I'm using Jasper Assistant in Eclipse and I have a problem showing Farsi Fonts in PDF format.I have created a specific style to use with PDFEncoding = Identity-H but when I run the report I get an exception saying:

ExceptionConverter: java.io.UnsupportedEncodingException: Identity-H
at sun.io.Converters.getConverterClass(Unknown Source)

I think the problem is with the jar file I'm using which is iText 1.3.1.
Any suggestion on what jar file to use (and where to download it from) or what to do is appreciated



1 Answer Found

Answer #1    Answered By: Hooriya Khan     Answered On: Nov 01

Add Arial.ttf or any other fonts  you are using to the classes folder.

Didn't find what you were looking for? Find more on Farsi fonts in Pdf with Jasper Report Or get search suggestion and latest updates.