Hello,
I try to use
http://itext.ugent.be/articles/eid-pdf/index.php#template

The problem is that I lose my font ... saving in the pdf form.  I 'm 
not producing the form pdf so I must respect the same font,...
More I was using setField in my first method and so the font were 
conserving.

I used in my old method the faq method of Itext to add Image

Thanks



-----E-mail d'origine-----
De : Bruno Lowagie (iText) <[EMAIL PROTECTED]>
A : Post all your questions about iText here 
<[email protected]>
Envoyé le : Mardi 21 Aoû 2007 10:55
Sujet : Re: [iText-questions] direct-mail and manipulation of pdf










[EMAIL PROTECTED] wrote:
> Hello,
> I'm a new user of Itext and I have some questions.
>
> 1) I have a form et I would like to do direct-mail (publipostage in
> french). The only method I found is to create one pdf by form 
(tempory
> files) and concatenate all the tempory pdf in one.
>
> 2) That's the reason why I would like to define the same comon bottom 
of
> page in order to not duplicate the bottom and son to reduce the size 
of
> my pdf (alsoit's a very big file (more than lots of hundred MO that 
is
> limit the exploitation of this file)
>
> In french if someone understand :
>
> 1) J'ai un formulaire et j'aimerais faire du publipostage à partir de
> données. La seul methode que j'ai trouvée c'est créer un pdf par
> formulaire (fichier temporaires supprimées à la fin du traitement) et
> ensuite concaténé tous les pdf dans un seul
>
> 2)C'est pourquoi j'aimerais definir un fond de page commun à 
plusieurs
> pages afin que l'image de fond ne soit pas dupliquer et ainsi reduire
> mon pdf de taille (sinon plusieurs centaines de Mo ce qui limite
> l'exploitation du fichier)

J'ai compris les deux versions, mais je vais répondre en Anglais,
parce que c'est la langue principale sur cette liste:

1. The form is the way to go. Read it with PdfReader and fill
    it using PdfStamper. Now you have 1 page that is filled.
2. Now you want to combine all these single pages into one PDF.
    Your problem is that PdfCopy duplicates what you call the
    'common bottom', the layer underneath the data you're adding.
    You end up with very large PDFs.
    A workaround was published in this article:
    http://itext.ugent.be/articles/eid-pdf/index.php#template
    Meanwhile, a better solution was provided.
    Instead of PdfCopy, you can use PdfSmartCopy.
    PdfSmartCopy will not duplicate streams (for instance your
    original form lay-out) and therefore result in smaller PDF files.

HTH,
Bruno

-------------------------------------------------------------------------

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/








-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to