I've discovered small differences shown by the diff images produced by
the BatchDiffer. The effect popped up especially for A4-sized pages
where the page size cannot be expressed in points as integer values. It
was mostly a rounding problem. So prior to my little change [1] we ended
up with the following:

[1] http://svn.apache.org/viewcvs?rev=264145&view=rev

-----

PDF:
<< /Type /Page
[..]
/MediaBox [ 0 0 595 842 ]
[..]


and in the page stream:

stream
1 0 0 -1 0 841 cm
q
[..]


After my change, it's:

stream
1 0 0 -1 0 841.8889770 cm
q
[..]

-----

PostScript:

%%Page: 1 1
%%PageBoundingBox: 0 0 595 842
%%PageHiResBoundingBox: 0 0 595.275 841.889
%%PageResources: (atend)
%%BeginPageSetup
<<
/PageSize [595 842]
/ImagingBBox null
>> setpagedevice
[1 0 0 -1 0 841.88898] concat
%%EndPageSetup



Jeremias Maerki

Reply via email to