|
Hi;
I wrote the attached simple program to show the
problems I am having:
- It does not show the author
- It does not show the header (unless it's in some
compressed stream).
- The baselines of the 4 lines of text should be at
multiples of 1". However, y starts off at 1-7/32" and by the fourth line it's
at 4-1/8" So it's offset and shrinking. The X origin does the same thing,
starts off at 1-1/8" and is at 3-15/16" by the fourth.
- The boxes should all be 1"x1" boxes at 1"
multiples. However, they are all 15/16"x15/16" boxes and their offset is also
shrinking.
- Same with the bitmap, both the offset and the
size.
Am I missing something here? I can understand a
printer driver offsetting everything on the paper a little. But the fact that
everything on the paper (I printed the test.pdf to measure) is smaller is
worrisome.
Any ideas?
thanks - dave
|
<<attachment: windward.jpg>>
PdfTest.java
Description: JavaScript source