Jump to content
JasperReports Library 7.0 is now available ×

JasperReport PDF Font properties


Recommended Posts

By: finzic - finzic

JasperReport PDF Font properties

2006-03-31 23:11

Hi all,

I am in the process of adding PDF conversion of JR documents in my app.

It all works fine, except for font properties.

All my Bold text gets converted in "no-bold" form,

in other words: the 'bold' property gets lost in the conversion...

 

Any suggestion?

TIA,

Luca.

 

 

 

 

 

 

By: Nacor - nacor

RE: JasperReport PDF Font properties

2006-04-03 01:24

Hi Luca,

 

there is no attribute "bold" for PDF, in PDF documents you are creating bold text with a special bold font.

regards

 

Mark

 

 

 

 

By: Sanjeev Saha - sanjeevsaha

RE: JasperReport PDF Font properties

2006-04-03 05:47

Not sure about all the font support for PDF but you can use pdfFontName="Helvetica-Bold" in your <style /> for preserving the BOLDness when exporting to PDF.

 

Check out the documentation and samples for more examples of PDF fonts.

 

hth,

Sanjeev

 

 

 

 

By: finzic - finzic

RE: JasperReport PDF Font properties

2006-04-03 07:19

Thank you Nacor,

I tried to change the PDF font of two labels and it got the right look in PDF.

Thanks!

Luca.

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