Use no-break spaces '\u00a0'.
Best Regards,
Paulo Soares
> -Original Message-
> From: feng qian [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, October 30, 2003 16:22
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] aligned text
>
> Hi,
>
>
Use fixed width fonts, or use tables: a cell for "Address: " aligned
right, and a cell for the rest, aligned left.
feng qian wrote:
Hi,
I created a address phrase as follows:
new Phrase (
"Address: 123 Williams Road\n" +
" Reston, VA 12345", MYFON
Hi,
I created a address phrase as follows:
new Phrase (
"Address: 123 Williams Road\n" +
" Reston, VA 12345", MYFONT);
Then I put the phrase in a table cell, but it could
not align properly and display like this:
---