Jump to content
Changes to the Jaspersoft community edition download ×

Problem with bold headings


2004 IR Help

Recommended Posts

By: sven-loe - sven-loe

Problem with bold headings

2004-05-04 07:15

Hello,

 

I am building reports with bold headings. The problem is that the headings are not bold. The XML code iReport generates is:

 

<staticText>

<reportElement

mode="Opaque"

x="7"

y="29"

width="69"

height="14"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="CP1252" isStrikeThrough="false" />

</textElement>

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

</staticText>

 

The report compiles an run perfectly but the headings are not bold. If I use an other XML expression I can get bold headings. Is this a problem of iReport or Jasperreports? How can I use iReport and get the reports I want?

 

Greetings

Sven

 

 

 

 

By: sven-loe - sven-loe

RE: Problem with bold headings

2004-05-05 00:18

Hello,

 

I have to reply to myself. The problem is that for pdf export you have to set the "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...