Extend PdfPTable and create the Phrase with size 8 in the overloaded
addCell.
Best Regards,
Paulo Soares
----- Original Message -----
From: "Brian Hobbs" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 20, 2003 8:56
Subject: [iText-questions] Setting a default font for a PdfPTable
> Hi guys,
> I wonder if you can help me out. I'm trying to set a default font for a
> PdfPTable (e.g. helvetica 8pt) that is slightly smaller than the rest of
> the documetn (e.g. helvetica 10pt).
> I've had a look at the java docs & searched the mailing list, but the
> only way I can find to do it is to set the font on each new cell:
>
> table.addCell(new Phrase("Some text",
> FontFactory.getFont(FontFactory.HELVETICA, 8)));
>
> Maybe I'm missing something obvious (apologies if so!) but I just can't
> see what I have to do to make the HELV 8 the default for the entire
> table.
>
> Other than that - good work guys!!
>
> Cheers,
> Brian Hobbs
>
>
> _____
>
> Want to chat instantly with your online friends?
> <http://uk.rd.yahoo.com/mail/tagline_messenger/*http://uk.messenger.yaho
> o.com/> Get the FREE Yahoo! Messenger
>
-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code=104
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions