Hi,
I'm building a pdf document and I'd like to know how I can let that the size of 
spaces
is the same as the other characters, for example if I wtite the following lines:

 Document document = new Document(PageSize.A4, 0, 0, 50, 50);
 PdfWriter writer = PdfWriter.getInstance(document, new 
FileOutputStream("charspace.pdf"));
 String text = "Flanders                                  International      
Filmfestival Ghent - ...\n";
 String text2 ="I'd                                       like               
this\n";
 document.add(new Paragraph(text));
 document.add(new Paragraph(text2));


I obtain a pdf document like:

Flanders                                    International      Filmfestival 
Ghent - ...
I'd                                       like              this

Thanks,

Davide



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to