Created attachment 35877 [details] [review] patch to add a function to glib for get the text position in a page I'm implementing a11y support for evince and I need the text position information. In glib poppler frontend there is no way to get the text layout from a page. It's related with evince bug: https://bugzilla.gnome.org/show_bug.cgi?id=309015
Created attachment 35985 [details] [review] patch to add a function to glib for get the text position in a page I attached a better patch, the mapping now works well with multicolumn pdf files.
Created attachment 36098 [details] [review] patch to add a function to glib to get text position in a page Using prepend instead of append commit added. I changed the glist append and used prepend and reverse for eficience.
Not fixed until patch is commited.
Created attachment 36288 [details] [review] patch to add a function to glib to get text position in a page I changed the patch to return an array of PopplerRectangle instead of PopplerMapping. Now there's no duplicated information and spaces are well posicioned. And the wordlist is freed also.
Created attachment 36289 [details] [review] patch to add a function to glib to get text position in a page. I removed trailing white spaces fix without patch relation.
Pushed the patch with some minor changes. Thank you very much.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.