youyi1997, youyi1997 wrote > this is my code, > [...] > BaseFont baseFont = this.getFont(); > [...] > template(bmdjb2013_v2.pdf 448KB) and create pdf 4.96 MB
Bruno mentioned that the problem might be connected to the font. Thus, you might help by not hiding the font object generation in that getFont() method you didn't supply. Furthermore, supplying the template and the resulting PDF for inspection might help analyzing the problem very much. Regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/Why-my-itextsharp-creat-pdf-file-very-large-tp4656998p4657001.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
