I could use some help, in case somebody has an idea how to solve this :-)

I've integrated the viewer.html part as-is into a web view in an Android app. But now, when I use the search argument when displaying the pdf, the search selection is offset some characters from the

Search highlighting offset in viewer.html from pdf.js on Android.

Comments

How to respond

Write your comment on your on page and link it to this page with the following link:
https://vmac.ch/posts/2021-06-22-search-highlighting-offset-in-viewer-html-from-pdf-js-on-android-1624388982/
Then insert the permalink to your post into the form below and submit it.

Alternatively you can reach me by email to: comment@vmac.ch