I accidently submitted this to the support page, in sourceForge.. Here goes..
I'm currently working on a project for a school district, and we are using iText to dynamically great the grade reports for students. I'm using a PdfContentByte to write everything to the document, including the text, images, and various rectangles and horizontal rules. I've noticed that when i have just text on a page, it displays as I've set the various fonts to. But when I add either an image, or drawing (rectangle, hr) of any kind, all the fonts suddently bold. I'm basically using showText and setTextMatrix for the text areas, and moveTo/lineTo/stroke for the hr's and rectangle/stroke for the rectangles.. For Images I just use Image and getInstance to create the image, then cb.addImage to insert the image into the contentByte.. Is there a variable or something to that effect which I'm missing to cause this, or is this just a fluke thing.. If you need any code, please let me know, I would be able to provide it.. Thanks Chris ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions