Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

122
Views
pdf.js text layer position accuracy

I'm using pdf.js and RecogitoJS to build a PDF annotation interface. This seems to work fairly ok. Except there's a small offset between the rendered canvas image and the hidden text layer that's used for selection underneath.

It's probably less than 2 chars in all cases, but it still leads users to make incorrect selections in many cases. I assume browser characteristics, system font size, as well as fonts used in the PDF may play a role, and perfect alignment is impossible. But if anyone has experienced this, and can give advice on tweaking the alignment between canvas and image layer, do let me know.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!