modesty / modesty/pdf2json

Character Conversion changed after a certain PDF

Open
#114 0 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

I am new to pdf2json and I really love it. I am reading with this tooling a travel brochure reading the text to find some important data. It works fine after a certain page, after that the UTF8 character conversion seems to be broken. Lower case letter become Upper case meaning there is a x'20 offset and capital letters are x'10 offset.. I am using the loadPDF function and read the JSON afterwards.. Any hints... thanks much for this great tool. It does exactly what I need, beside this problem.

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 at the loadPDF entry point and compare the JSON text before and after the page where character conversion changes. Reproduce the reported lowercase-to-uppercase and capital-letter offset behavior with the travel brochure, then verify that decoded characters remain correct after that page.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.