Is there a function to get a rectangle containing all the text on the page?<br>This could be useful for a pdf viewer to zoom in enough so that the margins<br>are out of view but the text is as large as possible while still being in view.
<br><br>I notice that the glib interface has poppler_page_find_text return a list of rectangles<br>where a string occurs. It throws an assertion failure if you give it NULL for a string. It<br>could be altered to accept NULL and return a single rectangle that includes all the
<br>text by searching for "".<br><br>My main interest is not really text neccessarily, but to add an automatic crop the<br>margin feature to a pdf viewer.<br>