Jump to content

Recommended Posts

Posted

I am using iReport to generate PDF reports in Linux Mint 17. I desing a template with iReport, then fill it using a JRBeanArrayDataSource, then print it to PDF.

I am starting with a report with a single static text, no fields, no paremeters used, nothing. Just a static text with the default "Static text" written on it.

I load the .jrxml, then compile it, then print to a PDF and an HTML. When I change the name of the font used for the static text, the HTML file changles accordly, but the PDF file never changes, always shows the same sans-serif font, no matter what font I choose.

I have checked what fonts are available to my JVM by executing:

GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();

and printing the result, and all fonts I am using are listed there.

What can I do?

Thanks,

noe.

  • Replies 1
  • 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...