modesty / modesty/pdf2json

'w' doesn't make sense

Open
#136 5 comments 8 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

Looking at a specific text object, the width makes no sense at all, the width returned for the text:

LINE%20START

is 55.044, why and how, the font size is 10pt and the page width is only 37.188, so what and how is 'w' calculated?

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 identifies a text object and the returned width for “LINE%20START”, but names no source file, test, or entry point. Start by tracing how text-object width is calculated, then add a reproducible check that establishes the expected width and verifies the corrected result.

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.