Hello;
 
I ran this with Document.compress = false; and the generated pdf is correct. So Acrobat is causing problems 3 - 5 below. Which is pretty bad for something that claims to create exact documents.
 
But still no author or header. Any ideas on that?
 
thanks - dave
 
 
 
----- Original Message -----
To: itext
Sent: Friday, March 07, 2003 8:31 PM
Subject: [iText-questions] Problems with headers & positioning

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