p.setLeading(fontSize + 1)
> -----Original
Message-----
> From: [EMAIL PROTECTED]
>
[mailto:[EMAIL PROTECTED]]
On
> Behalf Of john strecker
> Sent: Wednesday, September 01, 2004
4:05 PM
> To: [EMAIL PROTECTED]
> Subject:
[iText-questions] preformatted text->PDF with
> unecessary line
spacing
>
> Hello All;
> I have some code that
takes seom Oracle results as text and
> creates a PDF
> doc. Below
is the code snippet that creates the text for the
document:
>
> read the text
file..
> loop on chr
input..
>
>
Paragraph p = new
Paragraph();
>
// add paragrpah and set
color
>
p.add((new Phrase(1, text, FontFactory.getFont
>
(FontFactory.COURIER_BOLD, fontSize, 0, new Color(0x00, 0x00,
>
0x00)))));
>
document.add(p);
>
document.newPage();
> end loop
>
> Problem
is it seems to double space the lines between the
> text. I'm
already
> using the leading space. Any suggestions?
>
> John
Strecker
>
>
>
>
>
-------------------------------------------------------
> This SF.Net
email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE
developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1
today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
>
_______________________________________________
> iText-questions mailing
list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
- [iText-questions] preformatted text->PDF with unecessary ... john strecker
- Paulo Soares
