Jump to content
We've recently updated our Privacy Statement, available here ×

rwcope2

Members
  • Posts

    3
  • Joined

  • Last visited

rwcope2's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Lucian, It happened no matter how I viewed it. I used JRViewer, printed to a printer, and printed to PDF, all with the same result. I moved to MacOS 10.4.7 using Java 1.4.2_09 and also saw the problem the first time I tried it. However, after I recompiled the report in this new environment, the problem went away. If I get a chance to try this again on MacOS 10.3.9, I will post the XML export. Thanks again, Rob
  2. Thanks for the reply. Yes, I'm using it my textElements like so: Code: <textField isStretchWithOverflow="false" isBlankWhenNull="true"> <reportElement x="374" y="72" width="126" height="20" style="HeaderBold" /> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression class="java.lang.String"> <![CDATA[$P{pAccountNo}]]> </textFieldExpression> </textField> I also see the same problem in the xmldatasource demo, so I'm pretty sure it isn't something I'm doing wrong (although I would be happy to find out it was). Rob
  3. I defined a report style for bold text using the <style> tage like this: Code: <style name="HeaderBold" fontName="sansserif" isDefault="false" fontSize="10" isBold="true" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" /> When I print (to printer or screen) the text does not appear in bold. I ran the xmldatasource demo, which does the same thing, and it did not work there either. I do get bold if I add <font isBold="true"/> to the textElement. I'm using JasperReports 1.2.6 on Mac OS X 10.3.9 with Java 1.4.2. Before I report a bug, I wondered if anyone else has seen this? Also, does anyone know a workaround, short of adding bold to every textElement? Thanks, Rob
×
×
  • Create New...