2004 IR Help Posted August 20, 2006 Share Posted August 20, 2006 By: pyosky - pyosky pdf looks different in diff. servers 2005-02-17 02:40 hi, i am running oracle jdeveloper 9i (on windows xp) for development. i created a jrxml using ireport 0.3.2. and i got a pdf using jasperreports 0.5.3. everything worked well but then i deployed my app locally to bea weblogic 8.1 (windows xp) and there is a empty line at the beginning of the detail band. so then i deployed the app to bea weblogic 8.1 on a headless linux server and there the linespacings (in the detail band) are double but in the reports they are defined as single. the reports are compiled at runtime. the java version differs a little but everywhere (local and on the server) runs 1.4.2_x. so i am out of ideas, everywhere the same jrxml and jaspers are used but the pdf differs... i'd grateful for any idea why this happens and how to avoid this effect. p.s. but JR is a great piece of work anyhow By: cosmos - cosmos79 RE: pdf looks different in diff. servers 2005-02-17 03:29 Try to use this jvm option in java execute java -Djava.awt.headless=true .... bye cosmos By: pyosky - pyosky RE: pdf looks different in diff. servers 2005-02-17 03:50 i already did it. headless is not the problem. the problem is that the pdf looks different in different servers and i don't know why. it seems like the linespacing is double on bea but on oracle it looks right. By: pyosky - pyosky RE: pdf looks different in diff. servers 2005-02-17 03:55 headless was only a problem on the linux machine but the pdf differs on bea here in windows xp and oracle also here in windows xp. i turned headless on and off on the local bea and it had no effect, it still looked different to the pdf on oracle By: pyosky - pyosky RE: pdf looks different in diff. servers 2005-02-17 04:09 in windows its only a small difference and only at some reports, i could live with that... but on the linux bea server the linespacing is always wrong. By: pyosky - pyosky RE: pdf looks different in diff. servers 2005-02-22 04:09 seems the problem was that the fonts have slightly different sizes on the different systems and so line feeds happen... solution is to broaden the textfields 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