When the field is auto-size a best effort is made to fit the text that may or may not match what Acrobat does.
Paulo ----- Original Message ----- From: "Uno Masaki" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, June 19, 2007 7:46 AM Subject: [iText-questions] Filling japanese text fields > Hi, > > I have a question about acroforms with japanese font. > > I want to fill an text field whose font is japanese font > (KozMinPro, MS Mincho, etc.). > The text field is created with Acrobat form tool. > The font-size is auto-size and the multiline flag is on. > > When the text field is filled with japanese long text on > Java program using iText, > some areas below the text in the text field will be not > filled > according to circumstances. > > > Could you tell me how to best fill the japanese text field > ? > > > My environment: > JDK 1.5 > iText 2.0.4 with iTextAjian.jar > Acrobat 8.1 > > > I've created a sapmple PDF and attached it. > All of text fields has black border, > are auto-size and multiline, > and are filled with same japanese text. > > First field was filled with Preview mode of Acrobat. > Others were filled with my program using iText, > AcroFields#setField(String, String). > > Sample2 and sample3 generated by iText have > space below text. I want to adjust them like > the first field. > > > Best Regards, > Masaki UNO ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
