panicmoment Posted January 29, 2014 Share Posted January 29, 2014 Hi,I'm using Jasper Reports 5.5 with iReport designer 5.5.0 to create the reports, all the reports and sub reports are working fine and displaying all the text field when previewed from iReport, the data is coming from a database (Oracle)When I run jasper reports using my web app locally in windows environment all the text field is displaying correctly, also when I deployed it in our cloud which is Linux based OS, all the test field is displaying correctly, but when I deployed it in our production server which is using Solaris 10 there are some text field that is displaying correctly but some are missing.This is how I integrated jasper reports in our web app:Connection connection = dataSource.getConnection();[/code]JasperReport jasperReport = JasperCompileManager.compileReport(reportPath);[/code] JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, connection);[/code]JasperExportManager.exportReportToPdfFile(jasperPrint, tempFile);[/code]*reportPath is where the .jrxml file is locatedAdditional information:The font name of the text field is TahomaThe font size of all the text field in 7The height of all the text field is not lower than 10Blank when null is checkedStretch with overflow is not checkedPrint when detail overflows is not checked Link to comment Share on other sites More sharing options...
toffer Posted January 29, 2014 Share Posted January 29, 2014 We had a similar issue. The problem was, that we specified the "SansSerif" font-family for our textfields which worked well on Windows, but on Linux did not fit into the boxes anymore, because it uses a different font. So they were rendered blank. We then decreased the font-size of the texts and it worked on both machines.You specified Tahoma, so basically it should look the same, if the font is available on Solaris as well.I would still try decreasing the font-size. 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