The new NIO classes are a much faster method for doing this - both the I/O and the charset conversion.
----- Original Message ----- From: "Nikhil C. Khedkar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, January 05, 2003 9:49 PM Subject: [iText-questions] Urgent : PDF doc generation takes too long in JDK141 environment > Hi, > I am using IText in my project. I am using the > advanced IText, as I am generating PDF documents > having unicode support (I generate documents > containing unicode characters like japanese, chinese > etc.) > When I compared the time to generate the PDF document > in JDK131 environment and JDK141 environment, there > was a huge time difference. Time taken in JDK141 > environment exceeds that in JDK131 environment by > almost 6 - 7 times. > When I traced down the reason with the help of a > profiling tool, it was > com.lowagie.text.pdf.FontDetails.convertToBytes() > method which in turn calls String.getBytes() method. > String.getBytes() method is taking a lot more time in > JDK141. I have already filed a bug with Sun about > this. But I am not very sure about the response time. > Can you please look into this matter and probably have > some workaround in your code? > > Thanks, > Nikhil Khedkar > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions