modesty / modesty/pdf2json

issue: one text elements per character

Open
#205 3 comments 3 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

I have this problem for some PDFs. It generates a text element for each character. In other pdfs the text element is running returning the grouped texts correctly. Would anyone know how to solve it?

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

The issue does not name a file, test, or reproducible PDF; start by obtaining an affected PDF and comparing its output with a PDF whose text is grouped correctly. Trace where PDF text elements are assembled, and consider the issue done when affected documents no longer produce one element per character without breaking grouped text output.

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
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.