<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 28 November 2013 07:22, Germán Póo-Caamaño <span dir="ltr"><<a href="mailto:gpoo@gnome.org" target="_blank">gpoo@gnome.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

FWIW, I tried to use poppler_page_get_text_layout_for_area()  for<br>
implementing the text annotation markup in glib (in the demo), but it is<br>
notoriously slower than the deprecated<br>
poppler_page_get_selection_region().<br></blockquote><div><br></div><div>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.<br>

</div></div></div></div>