If you want to keep the spaces at the end use the character
\u00a0.
Best Regards,
Paulo Soares
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of NICOLAU Raffaele
Sent: Tuesday, March 30, 2004 2:33 PM
To: [EMAIL PROTECTED]
Subject: [iText-questions] Spaces within a PhraseHello to everyone,I try to make a new PdfPCell object using a Phrase object.PdfPCell _cell = new PdfPCell(RetailPdfUtil.getPhrase(_labelLine, p_fontFull));( getPhrase(...) returns a Phrase with the specific font. )My problem is when I add spaces at the end of the String used to construct a Phrase_labelLine = "BlaBlaBla" + " ";PdfPCell _cell = new PdfPCell(RetailPdfUtil.getPhrase(_labelLine, p_fontFull));The cell's text is good, but spaces vanished ... !It seems that a trim() is called somewhere, so is there any way to append and see spaces in my Phrase ?Thanks,Regards,R.Nicolau
