Hi Is there a way to prevent ordinary flow to line break a block of characters?
An example: String str = "Your id (social security id), name and address need to be supplied."; Paragraph p = new Paragraph(); p.add(new Chunk(str, myFont)); document.add(p); There are scenarios, due to the preceding text being dynamic, where the paragraph will render like: ... .....................Your id (social security id ), name and address need to be supplied. ... As you see, the line break occurs just before the closing parentheses - even though there are no white spaces in between. Shouldn't it render like: ... ..........................Your id (social security id), name and address need to be supplied ... Any clues? /R -- View this message in context: http://itext-general.2136553.n4.nabble.com/Broken-word-tp3044827p3044827.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
