s.sourceforge.net'"
cc
Subject
Re: [iText-questions] How to set font
for entire document or table
Dinesh Mahadevan wrote:
>
> so, everytime i have to do this?
>
> Font normalFont = FontFactory.getFont(FontFactory.TIMES, 12);
Define the fonts you plan to use in a separa
Dinesh Mahadevan wrote:
>Sublassing Paragraph could make your code more elegant.
How do i do that? sorry for seeming noobish or naive..any tutorials or
example?
The iText tutorial doesn't want to replace any Java manual discussing
the most elementary OO techniques.
So you won't find any e
Dinesh Mahadevan wrote:
so, everytime i have to do this?
Font normalFont = FontFactory.getFont(FontFactory.TIMES, 12);
Define the fonts you plan to use in a separate class.
Paragraph t2p1 = *new* Paragraph(*new* Chunk("This is my first
paragraph. ",normalFont));
Use, construct the Para
Dinesh Mahadevan wrote:
Hi.. I was wondering .. how to set/change font for entire document or
a table.
The default font is Helvetica. There's no way to change this.
You can subclass some objects so that they use another font by default;
but it's a better idea always to set the font instead o