Jump to content
JasperReports Library 7.0 is now available ×

Bold and Italic Text in PDF


2004 IR Help

Recommended Posts

By: Steve - scr1967

Bold and Italic Text in PDF

2005-05-17 12:00

In 0.6.6, bold and italic text is not being displayed in PDF files. They look fine in html and Excel. I found a section of code in JRPdfExporter.getChunk() where both Bold and Italic are commented out! (lines 1492 and 1493). Is there any reason for this? How can I get bold text back in this report?

 

 

 

 

By: Tom Jahncke - tjahncke

RE: Bold and Italic Text in PDF

2005-05-18 07:14

To display bold or italic in the PDF you need to change the PDF font name.

 

For example Helvetica-Bold (Bold), Hevetica-Oblique (Italic).

 

- Tom

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