You can try to use the character \u00a0 instead of the space and see if it
works.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, January 07, 2003 10:48
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Multiple spaces in HTML
> 
> Hi
> 
> I am currently working on a development where a very simple 
> document can be output from our application in either PDF or 
> HTML format, and using iText is an excelent way for me to be able 
> to generate the document using the same code for both formats. 
> Unfortunately, some of the document formatting is column 
> sensitive, and the text contains multiple spaces. The 'extra' spaces 
> are removed from the HTML document when it is displayed in a 
> browser. My question is, has anyone had this problem before, and 
> if so, have they been able to get around it?
> 
> I have been able to modify the code in HtmlEncoder to replace any 
> multiple occurrences of spaces with  . I could submit this 
> change unless it is felt that this is not desirable, or there is another 
> way to acheive the same result
> 
> Regards
> 
> Kevin Thompson
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to