'w' doesn't make sense

Open
#136 5 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
backend

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.

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?

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

  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.

More from modesty/pdf2json

All issues in modesty/pdf2json

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.