Hi when using iText Chunk and Font
p.add(new Chunk("Hello World", font); the font information is not written through the HtmlWriter. I traced this to HtmlWriter.write(Font, Properties) throws IOException Apparently the styleAttributes are null which leads to the font-information not being written: if (font == null || !isOtherFont(font) || styleAttributes == null) return; There is some commented code in write(Element, int) throws IOException saying // This doesn't seem to work: is this being looked at? By removing the styleAttributes==null check I'm getting the expected result and the font-info is written. Thanks Nils __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions