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,
> 
> 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:
> -------------------------------------
> Address: 123 Williams Road
>    Reston, VA 12345
> -------------------------------------
> Could anyone tell me how to insert the sold spaces for
> aligning the text for the second line?
> 
> Thanks.
> 
> Feng
> 
> __________________________________
> Do you Yahoo!?
> Exclusive Video Premiere - Britney Spears
> http://launch.yahoo.com/promos/britneyspears/
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to