>>Hi Rick,
>>
>>IMHO, the bug is in another place, see to previous loop in code.
>>
>>1) Split to text to lines (array p)
>>2) Calculate width for each line
>>3) If line's width is greather then original text width, then split line to two lines
>>
>>MartinaJ
>
>I agree you could fix it there by not creating the new array entries. I considered that, but rather than changing existing code that have effects I may not be aware of elsewhere, I wanted to simply put a guard up on the line that actually emits it to the PDF writer.
>
May be yes, may be no.
Report listener calculate text lines count by textbox width with using GDI+API
But PDF (builder) use GDI API.
It's strange so algorithm in pdf3 calculate more lines then GDI+ API.
MartinaJ