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

j.kipper

Recommended Posts

I am new to iReport Designer and currently running version 5.1.0.  I have changed the default font name (net.sf.jasperreports.default.font.name) under the JasperReports Properties tab to DejaVu Sans Mono, however when I add a new field to any band on a report (new or existing), the field is always set to SanSerif.  I am also using Jaspersoft Studio embedded in Eclipse with the same problem.

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

if you don't specify any concrete settings to your text field, its setting shows another font than you set in the jasperreports properties, but if you look at the xml code, you will see, that no font is really attached to the text field (besides you selected one).

I assume, this way setting a default font is deprecated, it doesn't work for me, too. Use a style instead and set the "Default" flag.

Cheers, Thomas

http://www.thomaszimmer.net

Link to comment
Share on other sites

Thank you both, especially for the quick answer!  That works perfectly in iReport Designer, even on fields that previously showed up as SanSerif.

FYI: In Jaspersoft Studio (5.1.0), new fields still show up as SanSerif, but if I open the file in iReport Designer they use the default style.

Jesse

Link to comment
Share on other sites

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