red6 / red6/pdfcompare

How to solve offset issues?

Open
#151 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
263
Forks
72
Avg merge
2m
Merged PRs (30d)
1

Description

hello. thank you for your tool.
please kindly let me give you guys one sample:
I have two PDFs. One contains 52 lines of records, while the other has 53 lines. The difference is that the second PDF has an additional line of data inserted at the 40th line. As a result, all the data from the 40th line onwards is offset (shifted down by one line) compared to the first PDF. All the other data in both PDFs is exactly the same.

what should i do if i only want to highlight the 40th line? any ideas ?

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

No source file, test, or entry point is named. Reproduce the comparison with the two PDFs described in the issue, focusing on the extra record at line 40 and the resulting shift. Done should mean the comparison can identify and highlight only that inserted line without treating later matching records as different.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.