Re: [iText-questions] Linecount

2006-10-05 Thread Bruno Lowagie
Andreas Huhn wrote: > hi there, > im writing a program that should create pdfs of a variable length > depending on the text. i have a fixed width though. > if i try to find out the texts length by using: > > size=size+(base_font_name.getAscentPoint( > phrase3.toString(),font.size()) - > base_fo

[iText-questions] Linecount

2006-10-05 Thread Andreas Huhn
hi there,im writing a program that should create pdfs of a variable length depending on the text. i have a fixed width though.if i try to find out the texts length by using:size=size+(base_font_name.getAscentPoint( phrase3.toString(),font.size()) - base_font_name.getDescentPoint(phrase3.toString(),