Thanks for the reply, that does indeed work. I did however specify the fontsize in the baseFont instance so I assumed that would be good enough.
I do have an additional question, if you don't mind. I placed a rather large textfield which is there to hold extra notes from the client. When the text reaches the border of the field I need it to start a new line in the field. Now it just continues to go on beyond the border. The field also needs to be read programmatically. Vertical alignment in the textfield isn't very clear to me either. The text needs to start at the top of the field. Thanks already :) Bruno Lowagie (iText) wrote: > > Fhomasp wrote: >> Because the TextFields are wrapped in a PdfPCell the font set in the >> TextField doesn't get through. The font is adjusted by the height of the >> cell. For regular fields this is a minor problem, however I also need a >> few >> much larger fields for memo info. So anyone filling one of those fields >> manually sees a font of at least above 30 points. How do I get control >> of >> this? > > I see you setting the font: >> textField.setFont(baseFont); > but I don't see you setting the font size anywhere. > Does it help when you add something like this: > textField.setFontSize(12); > br, > Bruno > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Do you like iText? > Buy the iText book: http://www.1t3xt.com/docs/book.php > Or leave a tip: https://tipit.to/itexttipjar > > -- View this message in context: http://www.nabble.com/PdfPTable-TextField-in-PdfPCell%3A-questions-tp17984107p17999686.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
