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

Arail font automatically changes to ArialMT when exported to PDF


Recommended Posts

I am using Arial as my fonr in jrxml. But when the report is exported to pdf using my backend code , it automatically changes as Arial MT. But if I use Jasper Studio, the font remain Arial . The code which I use to fill my jrxml from backend is given below.

InputStream reportStream = Thread.currentThread().getContextClassLoader().getResourceAsStream("/reports.jrxml");

JasperReport report = JasperCompileManager.compileReport(reportStream);

jasperPrint = JasperFillManager.fillReport(report, parameters, dataSource);

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