Friday, February 26, 2016

Use custom fonts when creating pdf using iReport




Download your font OR after creating the font and exporting it as a jar file you should add generated jar file to the application classpath.

a) Creating new font in iReport (via Options -> Fonts -> "Install Font" Button)


Select your font
Setup font details

If show this error:


1. Go to Program Files and Right button click on Jaspersoft folder ---> go to Properties


2.Go to Security tab and select user and edit permission 




b) Exporting the new font (or the existing one) as jar file in iReport (via Options -> Fonts -> "Export as extension" Button)


c) Create JAR with your fonts in it



You can find more information about using Font Extensions here.

0 comments :

Post a Comment

 

Copyright @ 2014 Tech Tutorial .