srivathsangayathri Posted July 26, 2020 Share Posted July 26, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now