Steve Carrow wrote: > Just to get this into the archives: the response was correct in that > parseLength returns 0 if the argument does not start with a number. For > "line-height: normal" this behavior clearly breaks things. I posted a > bug report at: > > https://sourceforge.net/tracker2/?func=detail&atid=115255&aid=2556177&group_id=15255 > > In that, I also enclosed a small patch that basically makes > "line-height: normal" equivalent to "line-height: 100%". When (or even > whether) that it gets implemented is of course not my call.
OK, I've uploaded some changes to SVN. Actually, the default leading in iText is 1.5, so I took the equivalent of "line-height: 150%". I also saw the remark about the other insertStyle method. It can be used, but I'm not sure if anybody is actually using it. Maybe I'll clean that class in the future. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php