about text field in iText 1.4.4 2006-09-06 - By lukeyoyo
Back hi, I am evaluating iText 1.4.4 now, it is a wonderful job. I found that static XFA fileds can be supported well except for a tiny problem . I followed the example form_text.java and produced a PDF document form_text .pdf. Everything is ok. However, when some changes was made in the source code, i.e., changing fontSize from 12 to 14 , the output file behaved strange. The text in the field "ATextField" would move downwards slightly when focus was obtained and upwards to its original position when focus was lost. When the position was changed from (171, 750, 342, 769) to (200, 550, 300, 575), the text was even compressed together when focus was obtained. It seemed that the appearances with focus and without focus are different. I wonder how this could happen, is it a bug? Or how can I fix it? Thx.
????????lukeyoyo ????????lukeyoyo@(protected) ??????????2006-09-06
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- 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 easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions
|
|