[iText-questions] Non-breaking Space Problem

2013-08-21 Thread Kenworthy, Rob
Hello, We are having an issue with non-break spaces. I'll attach a test case and provide a description. The issue occurs when a Paragraph of Chunks is added to a document. If the Chunks have all the same attributes, there is no problem. However, if the Chunks have different attributes (such

Re: [iText-questions] Non-breaking Space Problem

2013-08-21 Thread Paulo Soares
That's a limitation in Document.add(). Use ColumnText and it will work correctly. Paulo On Wed, Aug 21, 2013 at 3:33 PM, Kenworthy, Rob rob.kenwor...@cra-arc.gc.ca wrote: Hello, ** ** We are having an issue with non-break spaces. I'll attach a test case and provide a

Re: [iText-questions] Non-breaking Space Problem

2013-08-21 Thread 1T3XT BVBA
On 21/08/2013 16:33, Kenworthy, Rob wrote: Can you confirm if this is expected behaviour or a bug? This is by design. The PdfLine class (an internal class) is responsible for splitting lines and will do so on a Chunk per Chunk basis. If there is no split-character inside the Chunk whatsoever,

Re: [iText-questions] Non-breaking Space Problem

2013-08-21 Thread Kenworthy, Rob
Thanks Paulo. From: Paulo Soares [mailto:pgpsoa...@gmail.com] Sent: August 21, 2013 10:56 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Non-breaking Space Problem That's a limitation in Document.add(). Use ColumnText and it will work correctly. Paulo On Wed

Re: [iText-questions] Non-breaking Space Problem

2013-08-21 Thread Kenworthy, Rob
Thanks for your speedy response. I'll take that into consideration. Rob -Original Message- From: 1T3XT BVBA [mailto:i...@1t3xt.info] Sent: August 21, 2013 11:03 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Non-breaking Space Problem On 21/08/2013 16:33