Jump to content
Changes to the Jaspersoft community edition download ×

Bold , Italic in PDF!

Recommended Posts

By: Ilievski Bozidar - bobi1978

Bold , Italic in PDF!

2002-02-02 13:12


I realized this:

When using TRUE TYPE FONT (TTF) in <reportFont> tag,

Bold and Italic don t work in PDF format.





By: Teodor Danciu - teodord

RE: Bold , Italic in PDF!

2002-02-03 23:42




Yes. The "isBold" and "isItalic" attributes have no effect on the PDF fonts.

In PDF format, you have to use special True Type Font with those characteristics.

For example, if you want to have a text printed in "Comic Bold" then you should

specify the "comicdb.ttf" file when mapping the PDF font.


The sample report that will come with the 0.2.3 version will do just that.

You can find more details about those issues on the iText site.


Good luck!


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