cinglez Posted March 2, 2011 Share Posted March 2, 2011 Hello all.I have some reports (jrxml) in a JasperReports Server 4.0 repository running on a Linux machine. I exported these reports using js-export (js-export.sh --uris /XXX/Reports --output-dir /home/oracle/jasper_exp).I imported them to another Linux server running the same configuration. Everything fine. But when I imported them into a Windows server, also running JasperReports Server 4.0, some reports do not look the same when displayed. Some text fields seem not to fit in the same frames as before, so them are not displayed. What is the trick? All configs are CE.Thanks in advance. Link to comment Share on other sites More sharing options...
tkavanagh Posted March 2, 2011 Share Posted March 2, 2011 It sounds like you did this pretty carefully. So, it seems to me that you might have found a bug. The way to know for sure would be to do a comparison of the JRXML files that are in the repository. But the only way to get at these JRXMLs is to do yet another export.At any rate, can you write a bug on this? Please see if you can get a specific example of the UI display (two screen shots perhaps) of the resulting difference between Windows and Linux. And then describe the steps that you have described above. Thanks,-Tony Link to comment Share on other sites More sharing options...
cinglez Posted March 3, 2011 Author Share Posted March 3, 2011 Sure I can.It was a more complex report, so I removed some items like sub-reports and images, but the way it is now you can clearly see the difference between the Windows and Linux server results. I am also attaching the jrxml file. The same file was published on both servers, and the results are different. The workaround I used was to rezise the fields that were missing when using a windows server.Is there anything else I can do? Thanks Link to comment Share on other sites More sharing options...
baggypants Posted March 7, 2011 Share Posted March 7, 2011 it could be down to having slightly diferent font renderers or fonts on each system. Have a look at this page and maybe try forcing your own fontshttp://mdahlman.wordpress.com/2010/05/28/jaspersoft-v3-7-font-extensions/ Link to comment Share on other sites More sharing options...
mariusg Posted March 11, 2011 Share Posted March 11, 2011 Simply open the files and check the Properties > Fonts. You will notice that the used fonts are not embedded, so no wander the differences. Link to comment Share on other sites More sharing options...
cinglez Posted March 11, 2011 Author Share Posted March 11, 2011 Sorry, I could not understand. What do you mean by "not embedded"? Thanks for the reply 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