smalot / smalot/pdfparser

HorizontalOffset is not supported anymore

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

Nobody has claimed this yet.

needs more info
Dominant language
PHP
Stars
2.7k
Forks
579
Avg merge
2m
Merged PRs (30d)
1

Description

The config property HorizontalOffset, that was useful in dealing with format issues (https://github.com/smalot/pdfparser/blob/v2.11.0/doc/CustomConfig.md), is not checked anymore.
It can be set as described in the docs, but it's useless.

The last version checking and using its value was 2.7.0, any later version ignores its settings.

Contributor guide

Open the contributing guide

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 with doc/CustomConfig.md and compare the configuration handling in the 2.7.0 version with later versions to locate where HorizontalOffset stopped being used. Reproduce the reported format issue with the documented setting; done means the setting affects extraction again as documented and the regression is covered by the project's existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.