I was using jdk 1.2.4_13 and just installed jdk 1.2.4_16. the previous example simple.fo is now 5014 bytes!
So it is definitely what you said earlier regarding the jvm version. Is there a way to force the profile to be the small one? I can change my jvm locally but I'm not sure I can do the same with our linux production servers jvm... Would there be any parameter to force it or disabling this color profile? Anyway, thanks for this helping answer! Best regards! Laurent Jeremias Maerki-2 wrote: > > I take it you're using a Sun JVM prior to 1.4.2_16. There seems to be a > bug in earlier version where a Class.getResourceAsStream(String) returns > null if the filename contains a space character. I didn't notice this > problem before but I was able to reproduce it on Sun JDK 1.4.2_13. It > disappeared when I installed 1.4.2_16. It does not appear in 1.5.0_10 > (or later) and 6.0_03. > > Just to explain what this has to do with the PDF growing to over 100KB: > > There's a fallback built in that loads the JDK's default sRGB color > profile if the one bundled with FOP cannot be loaded for some (ha!) > reason. The sRGB profile Sun bundles is about 100KB in size while ours > is only about 5KB. > > Jeremias Maerki > > -- View this message in context: http://www.nabble.com/Empty-pdf-more-than-100k--tf4842011.html#a13859882 Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
