Copied HPDF_Page_TextRect to HPDF_Page_TextRect2 so it contains
a 'lines' variable which counts the number of lines used for the text.
this comes in handy when the text has to be surrounded by a box.