[poppler] Differing number of items returned from get_text{, layout} for glyphs over page edge

Peter Waller peter at scraperwiki.com
Mon Nov 25 00:40:55 PST 2013


Just to update the list, Carlos just committed
poppler_page_get_text_for_area, poppler_page_get_text_layout_for_area and
poppler_page_get_text_attributes_for_area.

See also:

http://cgit.freedesktop.org/poppler/poppler/commit/?id=bb2b7fb491fb72f0ea024d80df89680ede3457b4
https://bugs.freedesktop.org/show_bug.cgi?id=71160#c4


On 2 November 2013 15:14, Peter Waller <peter at scraperwiki.com> wrote:

> On 2 November 2013 14:58, Carlos Garcia Campos <carlosgc at gnome.org> wrote:
>
>> > I'd be happy to ask for glyphs in a (-inf, -inf, +inf,
>> > +inf) poppler::Rectangle except that I don't see a way to simultaneously
>> > get layout and font information.
>>
>> Maybe we could add poppler_page_get_text_layout_for_rectangle and
>> poppler_page_get_text_attributes_for_rectangle so that you can pass a
>> rectangle bigger than the page bbox (and smaller of course).
>>
>
> That would be great.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20131125/16b1a978/attachment.html>


More information about the poppler mailing list