Saturday, January 28, 2012

How to embed fonts into PDF generated by JasperReport (iReport)

Setup:
» Tomcat 7.0 + JSP
» iReport 4.1.1

Reference:
http://javaskeleton.blogspot.com/2010/12/embedding-fonts-into-pdf-generated-by.html

Steps:
1. Launch iReport, choose Tools->Options->Fonts

2. Click "Install Font" and follow the wizard to install your desired font.



*Remember to tick the option "Embed this font in the PDF document"








3. Select the newly installed font and click the button "Export as extension"




4. Save the export file as JAR file

5. Copy the JAR file to the folder within your application classpath
*I choose to put all the JAR files into $(JRE_HOME}/lib/ext

2 comments:

  1. When i am giving the path of font it is showing "Access is denied" plz Help

    ReplyDelete