[iText-questions] Font .isBold() not returning expected value

2010-07-09 Thread Adam Mork
Hi, I create a Font using the below call Font font = FontFactory.getFont(fontName, BaseFont.IDENTITY_H, fontLevel == ProcessPdfAPI.FONT_EMBEDED, fontSize, style); style == Font.BOLD, and I have verified this in the debugger, but a call to font.isBold() on the next line always returns false, ev

Re: [iText-questions] Switching Packages

2010-07-09 Thread Paulo Soares
Count your saveState()/restoreState(). Paulo From: Segev, Eli [mailto:ese...@ptc.com] Sent: Friday, July 09, 2010 4:15 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] Switching Packages I am trying to switch packages from com.lowagie.text

Re: [iText-questions] WMF file doesn't display correctly

2010-07-09 Thread Paulo Soares
I'll have a look. Paulo From: Алексей Гуревский [mailto:alexey.gurevs...@gmail.com] Sent: Friday, July 09, 2010 1:02 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] WMF file doesn't display correctly Hi I've got a problem with iTextSharp.

[iText-questions] Switching Packages

2010-07-09 Thread Segev, Eli
I am trying to switch packages from com.lowagie.text.* to com.itextpdf.text.* and form com.lowagie.text.pdf.* to com.itextpdf.text.pdf.*. Generating a PDF document worked with the old packages. With the new packages I get this error: com.itextpdf.text.exceptions.IllegalPdfSyntaxException: Unbala

Re: [iText-questions] adding borders bloats file size?

2010-07-09 Thread Jason Berk
I found in most cases I was adding content to the document as two tables: a summary of a product and the transactions on that product. That said, I extended Document like so: public class MyDocument extends Document { private Logger log = Logger.getLogger(this.getClass()); pri