Hi,

 

I sent a previous post describing a difference of PDF file size when created using different versions of JDK.

 

I spent further time investigating and the format is quite different, in particular, the Font attribute is not provided in the 1.3.1 version. I’ve provide an example of the difference below. But it seems that the XObject stream is approx 10 times the size.

 

The image stream is using Java2D to drawing lines etc.

 

Can anyone explain why they are different??? I need to get to the bottom of this as my application needs to run under a portal server running 1.3.1.

 

Thanks

 

Jason

 

JDK 1.3.1

 

16 0 obj <</Matrix [1 0 0 1 0 0]/Resources<</ExtGState<</GS6 18 0 R/GS5 17 0 R>>/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]>>/Subtype/Form/Filter/FlateDecode/Length 46614/FormType 1/BBox[0 0 345.98 113.39]/Type/XObject>>stream

 

JDK 1.4.1

 

18 0 obj <</Matrix [1 0 0 1 0 0]/Filter/FlateDecode/Type/XObject/FormType 1/Length 4082/Resources<</ExtGState<</GS6 20 0 R/GS5 19 0 R>>/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]/Font<</F3 9 0 R>>>>/Subtype/Form/BBox[0 0 345.98 113.39]>>stream

 







The content of this email is confidential and for the
addressee only. If you are not the addressee of this
email (or responsible for the delivery of this message
to such person) you may not copy, forward, disclose
or otherwise use it or any part of it in any form
whatsoever. If you have received this email in error
please email the sender by replying to this message
and delete this message thereafter. 

Opinions, conclusions and other information in this
message that do not relate to the official business
of our Company shall be understood as neither
given nor endorsed by it.

Reply via email to