Jump to content
JasperReports Library 7.0 is now available ×

Could not load font from location :


2004 IR Help

Recommended Posts

By: rencar - renae_carr

Could not load font from location :

2004-03-03 18:11

javax.servlet.ServletException: Could not load font from location : Times-Roman

 

 

I have found this error occurs when a report compiled in iReport-0.2.2 is run using jasperreports-0.5.0 under java 1.3. It seems that the pdfEncoding used by default is specified as CP1252, which is recognised under java 1.4 but not 1.3 (1.3 understands pdfEncoding=Cp1252). To fix this error the first occurance of the font style in the report needs to be changed to another encoding style, e.g.CP1252 - Western European ANSI.

 

I hope this helps anyone else who comes across this issue.

 

 

 

 

By: Giulio Toffoli - gt78

RE: Could not load font from location :

2004-03-04 00:43

 

thanks for this note, I had the same problem some time ago and adopted the same solution, but I have never documented it :-)

 

Giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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