|
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
|
- [iText-questions] PDF File Differences between JDK 1.3 and JD... Jason Moors
