Margins on paper depends on the printer and the selection of Acrobat
print-to-fit.

Best Regards,
Paulo Soares

----- Original Message -----
From: "David Thielen" <[EMAIL PROTECTED]>
To: "itext" <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 21:47
Subject: Re: [iText-questions] PdfContentByte.setTextMatrix - units, 0,0,
and text position


> Hi;
>
> I've tried this and this is what I've found:
>
> 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 -----
> From: "Paulo Soares" <  <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]>
> To: "David Thielen" <  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]>;
> "itext" <  <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]>
> Sent: Thursday, December 19, 2002 1:06 PM
> Subject: Re: [iText-questions] PdfContentByte.setTextMatrix - units,
> 0,0, and text position
>
>
> >
> > ----- Original Message -----
> > From: "David Thielen" <  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]>
> > To: "itext" <  <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]>
> > Sent: Thursday, December 19, 2002 19:11
> > Subject: [iText-questions] PdfContentByte.setTextMatrix - units, 0,0,
> and
> > text position
> >
> >
> > > Hi;
> > >
> > > When calling PdfContentByte.setTextMatrix, a couple of questions
> about
> > > it.
> > >
> > > 1. x,y - are these units in points?
> >
> > Yes if there wasn't any other CTM scaling before.
> >
> > > 2. 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.
> >
> > > 3. Is this the position of the top, baseline, or bottom of the text
> > > written?
> >
> > Baseline.
> >
> > >
> > > thanks - dave
> > >
> >
> >
>



-------------------------------------------------------
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to