[poppler] find all text
oh.hello.joe at gmail.com
oh.hello.joe at gmail.com
Fri Jul 21 15:10:30 PDT 2006
Is there a function to get a rectangle containing all the text on the page?
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.
I notice that the glib interface has poppler_page_find_text return a list of
rectangles
where a string occurs. It throws an assertion failure if you give it NULL
for a string. It
could be altered to accept NULL and return a single rectangle that includes
all the
text by searching for "".
My main interest is not really text neccessarily, but to add an automatic
crop the
margin feature to a pdf viewer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/poppler/attachments/20060721/cbfe1b04/attachment.html
More information about the poppler
mailing list