[iText-questions] Performance improvement for ByteBuffer.formatDouble(double, ByteBuffer) in HIGH_PRECISION mode

2008-12-23 Thread Feng Dihai
In our case, it is important and necessary to output all floating point numbers in higer precision with 6 decimal digits. But I noticed that in ByteBuffer.formatDouble(double, ByteBuffer), a new instance of DecimalFormat is created at each call of the method which will causes a great performance lo

[iText-questions] PdfCell#setNoWrap(true) doesn't work well with Element.ALIGN_JUSTIFIED_ALL

2007-09-24 Thread Feng Dihai
; } } ... } This implementation just simply gives a very large width to enable non-wrappable text. It works for Element.ALIGN_LEFT, but not enough for ALIGN_JUSTIFIED_ALL. I hope it can be fixed in future. Thank you very much. Feng Dihai /* * $Id: MyFirstTable.java 1742 2005-05-09 11:52:51Z blowagie

[iText-questions] Don't forget this question, please

2006-11-08 Thread Feng Dihai
Somebody has followed up my question wrongly. Please don't forget my question. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job

[iText-questions] Pre-defined PageSize is not accurate enough

2006-11-07 Thread Feng Dihai
Please check pre-defined constants in PageSize, some are not accurate enough. It caused a little problem in my application. For example: A3 = new Rectangle(842, 1190); which should be: A3 = new Rectangle(842, 1191); By looking up in http://en.wikipedia.org/wiki/Paper_size, I created a uncomp

Re: [iText-questions] Enhancement (or changes) for Asian fontsupport

2006-11-07 Thread Feng Dihai
See my comments below, please. Paulo Soares consiste.pt> writes: > > > > -Original Message- > > From: itext-questions-bounces lists.sourceforge.net > > [mailto:itext-questions-bounces lists.sourceforge.net] On > > Behalf Of Feng Dihai > > S

[iText-questions] Character Spacing problem when call PdfPTable#writeSelectedRows(...)

2006-11-06 Thread Feng Dihai
d parts of text being truncated. See http://fengdh.googlepages.com/characterspacinginacell.PNG I have also debuged into PdfPTable#getTotalHeight(), which calls ColumnText#go(true), in that case it seemd text is wrapped in a correct way. How can I fix this probelm? Yours sincer

Re: [iText-questions] Enhancement (or changes) for Asian font support

2006-11-06 Thread Feng Dihai
btain high performance in a template-based report tool. Is there a similar mechanic for PdfContentByte? Yours sincerely, Feng Dihai - Using Tomcat but need to do more? Need to support web services, security? Get stuff

[iText-questions] Enhancement (or changes) for Asian font support

2006-11-01 Thread Feng Dihai
d for TrueTypeFontUnicode: void writeFont(PdfWriter writer, PdfIndirectReference ref, Object params[]) throws DocumentException, IOException { HashMap longTag = (HashMap)params[0]; // <<< BEGIN: added by FeNG Dihai([EMAIL PROTECTED]), Oct. 12, 2006 if (embedded)