Any idea why the graphic image prints smaller than it should?
Post by Paulo SoaresMargins on paper depends on the printer and the selection of Acrobat
print-to-fit.
Best Regards,
Paulo Soares
----- Original Message -----
Sent: Thursday, December 19, 2002 21:47
Subject: Re: [iText-questions] PdfContentByte.setTextMatrix - units, 0,0, and text position
Hi;
1. For an image, the absolute position I set for an image is not
where it's printed. Instead it is printed a little lower and to the
right of the position I give. I printed out getDpiX() & getDpiX() (both
72.0) and absoluteX() & absoluteY() and the values printed do not match
the printed .pdf file.
2. For an image, the size of the image is slightly smaller than it
is supposed to be. I printed out plainWidth() & plainHeight() and the
values printed out do not match the printed .pdf file.
3. I printed out text and the x position is 90.0 (1.25") but on the
paper it is at 1.375" The y position is 646.15 (8.97") but the text
baseline is actually at 8.75"
The image size is actually the bigger problem as everything appears to
be offset the same amount and the amount is not killer.
Any ideas?
thanks - dave
----- Original Message -----
Sent: Thursday, December 19, 2002 1:06 PM
Subject: Re: [iText-questions] PdfContentByte.setTextMatrix - units,
0,0, and text position
Post by Paulo Soares----- Original Message -----
Sent: Thursday, December 19, 2002 19:11
Subject: [iText-questions] PdfContentByte.setTextMatrix - units, 0,0,
and
Post by Paulo Soarestext position
Post by David ThielenHi;
When calling PdfContentByte.setTextMatrix, a couple of questions
about
Post by Paulo SoaresPost by David Thielenit.
1. x,y - are these units in points?
Yes if there wasn't any other CTM scaling before.
Post by David Thielen2. where is 0,0 - the lower left corner of the page?
Or the template and again if there wasn't any other CTM translation
before.
Post by Paulo SoaresPost by David Thielen3. Is this the position of the top, baseline, or bottom of the text
written?
Baseline.
-------------------------------------------------------
This SF.NET email is sponsored by: The Best Geek Holiday Gifts!
Time is running out! Thinkgeek.com has the coolest gifts for
your favorite geek. Let your fingers do the typing. Visit Now.
T H I N K G E E K . C O M http://www.thinkgeek.com/sf/
_______________________________________________
iText-questions mailing list
https://lists.sourceforge.net/lists/listinfo/itext-questions