On 28 November 2013 07:22, Germán Póo-Caamaño <[email protected]> wrote:

> FWIW, I tried to use poppler_page_get_text_layout_for_area()  for
> implementing the text annotation markup in glib (in the demo), but it is
> notoriously slower than the deprecated
> poppler_page_get_selection_region().
>

What are your timings? I tested it and see that
poppler_page_get_text_layout_for_area and poppler_page_get_text_for_area
are ~30% slower for emptyish pages and <~5% slower for more populated
pages. Absolutely it is O(1ms) so doesn't seem a concern to me, but I'm
curious what problem you're encountering.
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to