enwired wrote: > For cells in a JTable, if the table cell font is not bold, the text will be > placed into the PDF document but will be invisible in the PDF (either > because the color is the same as the background, or it is transparent, or > something of that sort.) If the table cell font is bold, the text will be > placed into the PDF as a bitmap image, but as a weird outline.
There will be a section about fonts in combination with Graphics2D in chapter 14 of the second edition of iText in Action, that will probably already point you in the right direction, for instance comparing Graphics2D.drawString() with TextLayout.draw(). What we would need to investigate further, is a standalone example of a JTable that is not using Substance to reproduce the problem. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/