Jump to content
We've recently updated our Privacy Statement, available here ×

Greek in HTML/PDF: Could not load font...


Recommended Posts

By: Althea Cape - althea

Greek in HTML/PDF: Could not load font...

2003-10-19 23:21

Hello again,

 

PROBLEM:

I want Greek in my HTML and PDF reports, but all I get is "????? ??" or nothing at all.

 

I used the webapp demo that comes with Jasper, and I get the message:

"dori.jasper.engine.JRException: Could not load font from location : helvetica"

 

I made the following modifications:

1. I changed some of the data at the WebappDataSource.java and recompiled ok.

 

2. I tried using:

<?xml version="1.0" encoding="UTF-8"?>

or

<?xml version="1.0" encoding="ISO-8859-7"?>

 

3. together with:

pdfEncoding="Identity-H"

 

RESULT:

but nope! It Gives me "?????? ???" in HTMLs and nothing on PDFs.

 

Is there something I'm doing wrong? How can I put Greek characters in my reports (html/pdfs)?

 

Thanks,

Althea

 

 

 

 

By: Teodor Danciu - teodord

RE: Greek in HTML/PDF: Could not load font...

2003-12-19 14:58

 

Hi,

 

I think it should be pdfFontName="Helvetica" and not "helvetica".

 

There is also the provided "unicode" sample that shows you how to generate reports in Greek.

 

I hope this helps.

Teodor

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