Hi;
 
I wrote the attached simple program to show the problems I am having:
  1. It does not show the author
  2. It does not show the header (unless it's in some compressed stream).
  3. 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.
  4. 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.
  5. 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>>

Attachment: PdfTest.java
Description: JavaScript source

Reply via email to