I have a tried a couple different things, and I didn't find anything specific in the mailing list.
I am parsing HTML text into a PDF and I want to change all fonts to be the same. for most elements coming from HTMLWorker, I simply iterate through the Chunks and chunk.getFont().setFamily(FontFactory.TIMES_ROMAN). The problem is with PdfPTables. I cannot seem to tweak the font. I tried to set the default cell, I tried to dig into the table and get phrases and set those. Nothing seems to be working. I also set the tag style to use ....loadTagStyle(tag, "face", "times new roman"). Any help on this? -- View this message in context: http://www.nabble.com/HTMLWorker-tables-and-fonts-tp22232868p22232868.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
