I have changed code in PdfDocument.cs, PdfLine.cs, and PdfChunk.cs (in version 5.1.3) to enable correct overflow behavior.
The original behavior present in 5.1.3 will start a new line if the formatting in a word changes at the start of the formatting change (and overflow is occurring), since a new chunk is created every time formatting changes. This is inconsistent with what other document producing programs do (i.e. all Browser rendering engines I am aware of as well as Microsoft Word and Open/Libre Office). This has made my company's clients displeased in the past, so I aimed to fix it for future needs. My change looks back in the list of chunks added to the line to check if previous chunks are actually part of the present chunk's first word, and removes them from the current line, performs a carriage return, and adds them to the new line. How do I go about submitting this change for review/approval, and possibly inclusion in the trunk? According to the online documentation, mailing this list is my first step, so I've made it this far :) - David Vedvick ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. 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
