Jump to content
Changes to the Jaspersoft community edition download ×

Bold Not Working in PDF


Recommended Posts

By: Mark Maslow - mmaslow

Bold Not Working in PDF

2005-10-10 15:52

My report specifies bold for static text appearing in headers (example follows). If I export the report to html or xls, the bold appears. But when I export to PDF, text appears normal (not bold). Any clues as to what I might be missing?

 

<staticText>

<reportElement positionType="Float" x="237" y="91" width="44" height="15"/>

<textElement>

<font size="9" isBold="true"/>

</textElement>

<text><![CDATA[City]]></text>

</staticText>

 

 

 

By: Mark Maslow - mmaslow

RE: Bold Not Working in PDF

2005-10-10 16:29

Duh!

 

Adding something like the following in the <text-element> tag will do the trick:

 

pdfFontName="Helvetica-Bold"

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