Michael Olenick wrote: > I don't know about others but I hesitated and did a week of testing > before thinking about wasting Bruno's time when I found a bug in the > tab-chunk mechanism. I verified the bug (tab chunks behave > erratically with justified text) with many fonts, many tab chunk > sizes, many text samples, with and without characters. Bruno decided > not to fix the because the complexity of the fix outweighed the > benefit to most, and there are workarounds, a decision I understand > and respect.
After thinking it over, I made a small change. See the iText version in the SVN repository. Whenever there's a Tab Chunk in a PdfLine, the text isn't justified to the right. This doesn't "solve" the bug, but at least the line doesn't exceed the margin anymore. (It's less of a problem if there's some extra white space on the right then when the text jumps out of the margins.) > But -- and this is what I'm getting at -- I uploaded a clean, clear, > concise code sample and a PDF illustrating the bug and spent a lot of > time verifying it wasn't my system and could be reproduced. That sample was much appreciated. After the first test, it was a "won't fix" situation. But afterwards, I did a second test, and now there's an "almost fixed" situation. The code sample you've made hasn't been thrown away yet. Maybe I'll find a way to make a "working fix" ;-) best regards, Bruno ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
