When using Chunk to add content to the PDF, I can use any font that the 
system support by

using FontFactory. But when I use the PdfContentByte to add text, I have to use 
BaseFont and 

it seems that there is no way to set the font style. The problem comes when the 
BaseFont is different 

from the regular font such as The "Chiller" font in Windows.

    So, here is my question, how can I use the general font with PdfContentByte 
and set its style?

    This is a problem I encountered when I use iText to add watermark to 
existing files. I have to use 

the getUnderContent method to retrieve a PdfContentByte object and add text 
through it.

    On the other hand, if there is solution to add a chunk to the content byte 
at a absolute position, it 

can also solve my problem.

                                                Yours,
                                                Imgen Wakin




_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to