Hi; I've fought this battle too. I think the bottom line is that Acrobat is just off a little and all you can do is tell it the rigth numbers and let Acrobat then render it however.
- dave ----- Original Message ----- From: "Jaladurgam, Ramana" <[EMAIL PROTECTED]> To: "'Paulo Soares'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, July 28, 2003 8:18 AM Subject: [iText-questions] RE: Doubt on Measurement units > Hello Paulo, > Thanks for the suggestion. Now, the line is exactly 1 inch. > But, my following doubt was how is it less in the shrink to fit mode. > What am I required to do, if I wanted the line to be 1 inch exactly in all > modes. > My page size was 8.5in * 11inch. I thought the default page created by > iText is also of the same size. > > Regards, > Ramana.JV. > > -----Original Message----- > From: Paulo Soares [mailto:[EMAIL PROTECTED] > Sent: Friday, July 25, 2003 3:45 AM > To: Jaladurgam, Ramana; [EMAIL PROTECTED] > Subject: Re: Doubt on Measurement units > > > Uncheck the shrink to fit in acrobat's print dialog. If it still doesn't > work complain to the printer manufacturer. > > Best Regards, > Paulo Soares > > ----- Original Message ----- > From: "Jaladurgam, Ramana" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Thursday, July 24, 2003 20:30 > Subject: Doubt on Measurement units > > > > I found from the documentation that the measurement units are points > > and 72pts = 1inch. But, the results I am getting are different. > > > > I wrote the following code: > > //Document initialization stuff > > Document lPdfDocument = new Document(); > > PdfWriter lPdfWriter = PdfWriter.getInstance(lPdfDocument , > > new FileOutputStream("Line.pdf")); > > lPdfDocument.open(); > > PdfContentByte lPdfContentByte = lPdfWriter.getDirectContent(); > > lPdfContentByte.moveTo(200, 500); > > lPdfContentByte.lineTo(272, 500); > > lPdfContentByte.stroke(); > > lPdfDocument.close(); > > > > Thought this should give me a line of 1inch. > > I have printed the document, measured with the scale and found that > > the resulting line is a little less than 1 inch. Can anyone help me > > out with this measurement units please. > > > > Regards, > > Ramana.JV. > > > > > > > > ********************************************************************** > > ** > > **** > > > > This email may contain confidential > > material. If you were not an intended recipient, > > Please notify the sender and delete all copies. > > We may monitor email to and from our network. > > > > > > ********************************************************************** > > ** > > *** > > > > > > > > **************************************************************************** > This email may contain confidential material. > If you were not an intended recipient, > Please notify the sender and delete all copies. > We may monitor email to and from our network. > **************************************************************************** > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
