At 06:10 PM 7/21/2006, [EMAIL PROTECTED] wrote:
Is there a function to get a rectangle containing all the text on the page?

There is nothing built into Poppler or the underlying Xpdf - but you have all the necessary pieces from which to build it. I've done it using a custom OutputDev.


This could be useful for a pdf viewer to zoom in enough so that the margins
are out of view but the text is as large as possible while still being in view.

Remember you have PDFs that aren't just text - so you need to consider ALL VISIBLE content...


Leonard

---------------------------------------------------------------------------
Leonard Rosenthol                            <mailto:[EMAIL PROTECTED]>
Chief Technical Officer                      <http://www.pdfsages.com>
PDF Sages, Inc.                              215-938-7080 (voice)
                                             215-938-0880 (fax)

_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to