Jump to content
Changes to the Jaspersoft community edition download ×

FONTS????


989989272c
Go to solution Solved by ghudson_1,

Recommended Posts

How does one add a tff font to jaspersoft studio properly. I added it to the system so it renders great in preview, but then when I exported it to a pdf and uploaded it to the jaspersoft server the font didnt work. How do I then export it properly and upload it to the server properly? Thanks. If you answer my question you shall recieve a haiku.

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

Hi,
You need to use the JR Library feature referred to as font extensions.    This is described here and iReport and Studio both have some helper wizards to create the jar for you:
http://jasperreports.sourceforge.net/sample.reference/fonts/index.html#fontextensions

It's detailed in the JasperReports Ultimate Guide, and our salesengineer provides some illustrated background on the topic here in his blog here:
http://mdahlman.wordpress.com/tag/font-extensions/ 

In Studio choose Window -> Preferences -> Jaspersoft Studio -> Fonts, click Add to add your ttf, eventually choose "Export" to create the font extension jar (it's just a bundle of the files as described above).    Add the jar to your runtime classpath (like the WEB-INFlib dir of your appserver)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...