Jump to content
Changes to the Jaspersoft community edition download ×

JasperReports generated PDF has wrong font


2004 IR Help

Recommended Posts

By: JTB - baslerjt

JasperReports generated PDF has wrong font

2005-02-10 09:09

Anyone,

 

Using Monospaced font shows correctly in JasperAssistant, but the PDF genterated on the Solaris server with JasperReports 0.5.1 does not use any fixed font. I have tried Courier New with the same result. Changing the font size or style (italic or bold) works, but the actual font remains unchanged.

 

Any suggestions greatly appreciated.

 

 

 

 

By: JTB - baslerjt

RE: JasperReports generated PDF has wrong font

2005-02-10 10:14

Ok, Duh...I have answered my own question.

 

The pdfFontName property needed to be set. After doing that all is well. Generating pdf reports called from the Java servlet is working out great for our site development.

 

Thanks, anyway....

 

 

 

 

By: neptune22 - neptune22

Japanese characters are missing in PDF file

2005-02-18 01:54

hello there, i have a problem with the generated PDF file.. the text in japanase characters were not printed. output in jasperviewer seems to be perfectly fine. i am using ireport in creating the jrxml file. ive already set the pdf font name to "External TTF font.." and specified "msmincho.ttc" as the true type font.

still the same problem...hope someby could help me out..:( pls help.

 

 

 

 

By: Paulo Soares - psoares33

RE: Japanese characters are missing in PDF file

2005-02-18 02:03

The encoding must be "Identity-H" and the font "c:\windows\fonts\msmincho.ttc,0".

 

 

 

 

By: neptune22 - neptune22

RE: JasperReports generated PDF has wrong font

2005-02-18 05:00

:D many thanks to you paulo soares..it worked perfectly well now..thanks again..youre such a big help. :D

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