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

Reply via email to