Units of the dimension/some are missing?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java
- Domain
- documentation
Research direction
Start by tracing how the sample JSON fields x, y, w, sw, clr, A, and R are produced during PDF conversion. Determine which units and coordinate meanings are currently defined, then document the available position and size values, including whether a top value exists; the issue is complete when these behaviors are clearly explained.
Written by the indexing model from the issue text.
Description
So a typical text line has:
{
x: 4.453,
y: 23.642,
w: 1.06,
sw: 0.32553125,
clr: 0,
A: 'left',
R: [ { T: '%5B%20%5D%20', S: -1, TS: [Array] } ]
}
In what units are those values as I need it to be in pixels, also which values are the left (how far from left hand side), width and height values. Also I would need a top values so how far it's from the top of the page as I will need to insert a signature, how can I do that?
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 396
- Avg merge
- 9d 19h
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from modesty/pdf2json
-
getRawTextContent() returns the lines of every page in reverse order (bottom to top) since 4.0.3Open
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
`getRawTextContent` does not returns words' pieces in proper coordinate orderPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in modesty/pdf2json
Similar issues
-
hermes-queue
Difficulty 1/5 Under an hour Newbie friendliness 91/100
chrisalunlloyd2-sudo/mindpalace#373 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug priority: lowest
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
SkriptLang/Skript#8953 · 1 comment ·
Maintainers usually reply within 1 day
-
quality-assurance
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Paul-Austin-Oswego-CSC480-HCI521/gift-app#228 ·
Maintainers usually reply within 1 day
-
[java] TestClassWithoutTestCases: document that abstract classes and interfaces are not checkedOpen
Difficulty 1/5 Under an hour Newbie friendliness 91/100
Maintainers usually reply within 2 days