Re: pdf shifted down

John Hancock <[email protected]>
Newsgroups gmane.comp.java.lib.itext.general
Message-ID <CAHYL6kHdE_S0tLrSx0Rsut-s_0djF=X2YFjtcQqxAk9xjLoQhA@mail.gmail.com>
The problem was that  the Document object no-arg constructor returns a pdf
with A4 dimensions. So the page content wasn't shifted down, it was
truncated.  We fixed everything by passing a rectangle  sized 8.5 x 11 to
Document.  I.e. new Document(New Rectangle(...

-John

On Wed, Sep 17, 2014 at 2:23 AM, iText mailing list <[email protected]> wrote:

> On 9/16/2014 8:54 PM, John Hancock wrote:
> > using com.lowagie.text
>
> You're using a version that hasn't been supported for years.
> See http://itextpdf.com/salesfaq
> and also
>
> http://stackoverflow.com/questions/25696851/can-itext-2-1-7-or-earlier-can-be-used-commercially/25698526#25698526
>
>
> ------------------------------------------------------------------------------
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
>

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.