I didn't understand the problem when you posted it as a bug. It's still not a bug, at least not an iText one. I examined the file problem.pdf and it was generated correctly, all the offsets are in place so the problem is with what you asked iText to do. In other words, the file is correct but you didn't give the right API commands and the result was overlapped lines. Somewhere in your code you changed the paragraph or table leading to such a small value that the lines overlap. It has nothing to do with caching unless there are some threading issues with your code that are triggered by the no-cache, mainly the repeated generation of the same report by different threads or a static document that shouldn't be.
Best Regards, Paulo Soares > -----Original Message----- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Friday, November 29, 2002 17:08 > To: [EMAIL PROTECTED] > Subject: [iText-questions] PDF overlapping text in IE > > Hi, > > i looked through the archives and found others having trouble dynamically > generating PDF files and delivering them to IE browser, > but none quiet like mine. i am using the work-around technique below > (from > http://www.lowagie.com/iText/faq.html#msie) > yet for some reason IE wants to download the file. the save file dialogue > box appears when the report is generated. > the file is not available when i choose download, but that's not how i had > hoped it would work. > i am using Solaris and websphere(4.0). When i set the cache (as follows) > i > get the report back but the reports start to overlap text after about > 9 or 10 pages. Once the overlapping has occurred even the smaller files > will overlap from the beginning. If i stick to the around 8 page > documents > the overlapping never occurs. Thanks in advance, chad > res.setHeader( "CacheControl", "no-cache"); > res.addHeader("Pragma", "no-cache"); > res.setContentType("application/pdf"); > ByteArrayOutputStream ba = new ByteArrayOutputStream(); > generate_pdf(ba); > res.setContentLength(ba.size()); > ServletOutputStream out = res.getOutputStream(); > ba.writeTo(out); > out.flush(); > > > > Chad E. Iverson > > Wells Fargo Services Company > > Commercial Electronic Office > * 612-316-2375 > * 612-518-9597 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
