Jump to content

External TTF Font in JasperReports


papaswede

Recommended Posts

I'm using an external TTF font in my report, and when previewing the report in iReport all looks good, but when generating the font in the web app (running on Grails), I get the following exception:

Caused by: net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font :
pdfFontName   : VLADIMIR.TTF
pdfEncoding   : Cp1252
isPdfEmbedded : true

I have made sure that the TTF file is on the classpath, but it is still not working. Does anyone have any ideas about what I could be doing wrong?

 

Thanks!

Link to comment
Share on other sites

  • 1 month later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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...