modesty / modesty/pdf2json

text elements have incorrect y coordinates

Open
#195 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.2k
Forks
394
Avg merge
3d 5h
Merged PRs (30d)
7

Description

all other elements extracted appear to match up against an actual pdf viewed in gv when scaling the numbers properly, text elements however always have their point far above the actual text, which appears to get worse as y increases.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the coordinate mismatch described in the issue, comparing extracted text elements with the same PDF viewed in gv and checking how scaling affects y values. Done means text-element points align with the actual text across the page, including at larger y coordinates.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.