Hi, Im using the excellent software itext, i already have a big text
justified, but i need to increment the 'leading'.I wrote a code like this:
//////////////////////
document.open();

Paragraph paragraph = new Paragraph();

paragraph.setAlignment(Element.ALIGN_JUSTIFIED);

paragraph.add(new Phrase(24,"(2),this is a phrase with leading 24. You can
only see the difference if the line is long enough. Do you see it? There is
more space between this line and the previous one.", new Font(Font.COURIER,
12, Font.NORMAL)));

document.add(paragraph);
///////////////////////////
the leading working! but now the Alignment is not justified. Please i need
your experience! 

Thank you very much!




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to