Paragraph uses the sub _text_fill_line($self,$text,$width,$over) with the "over" parameter set to True, which means it will put as many words that fit PLUS the last word.

You may call _text_fill_line() with $over=0 to find out how many words will actually fit before calling paragraph.

//Andreas