I've discovered what is causing the problem, but would like to understand if
there is a way to still use setleading. 

In my example that is attached I use a iText Stylesheet.  In there I used
setleading to help make the note a little easier to read by reducing the
space between the lines.  Unfortunately when I do this the image is not
presented in context with the rest of the html note.  If I comment out the
style for leading the image is displayed where I would expect.  Except I am
back to my original problem of the individual lines between the notes being
wider than normal.  Can someone help me understand why the leading would
produce the results I am seeing?  You can recreate it with the example
method I have uploaded & comment/uncomment out the line 
styles.loadTagStyle("td","leading", "10,0"); //leading adjusts the space
between the lines

Thanks, 
Dawn Holte
Example below:

http://old.nabble.com/file/p27505895/NoteImage4.java NoteImage4.java 
-- 
View this message in context: 
http://old.nabble.com/Adding-html-with-Image---Image-placed-on-top-of-header-tp27493640p27505895.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-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
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/

Reply via email to