See http://article.gmane.org/gmane.comp.java.lib.itext.general/28337/.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Lu, Albert - Eagan, MN - Contractor
> Sent: Wednesday, July 11, 2007 4:20 PM
> To: [email protected]
> Subject: [iText-questions] document text blurred after adding
> a textwatermark using onStartPage event
>
> Hi,
>
> After applying a text watermark using onStartPage event onto
> my document, my document text is blurred. Here are the
> snapshots to show that:
>
> The original form without watermark:
> http://albert.t.lu.googlepages.com/form_wo_text_wm.TIF
>
> After adding the watermark:
> http://albert.t.lu.googlepages.com/blurred_text_wm.TIF
>
> My program flow is:
>
> Create a pdf document,
>
> Adding a page event to the document. onStartPage, it is to
> add text watermark on every new page.
>
> Open the document
>
> Copy another document (TIFF,PDF,GIF) into this using
> PdfContentByte and PdfImportedPage
>
> Close the document
>
> The event onStartPage has:
>
> PdfContentByte cb = writer.getDirectContentUnder()
>
> CreateFont(HELVETICA,CP1252, NOT_EMBEDDE)
>
> Cb.beginText()
>
> Cb.setCollorFill(100,100,100);
>
> Cb.showTextAligned(...)
>
> Cb.endText()
>
>
> If I add text watermark without using the event approach then
> I didn't have this blurring problem. But then it has its own
> limit that if I have a long table spanning several pages, I
> can not control/tell when the table spans to the next page
> for me to add the watermark on each page.
>
> Any ideas? Suggestions?
>
> Thanks,
>
> Albert
>
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/