modesty / modesty/pdf2json

[feature] please include in "Texts" the font name or object id

Open
#252 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
2.2k
Forks
394
Avg merge
3d 5h
Merged PRs (30d)
7

Description

Hello,

PDFs can have embedded fonts in some objects.
In the "Texts" fields produced by pdf2json, would you please include information about what font is used? (not the actual font, just information)
example:

"font" : "MS+ComicSansMS"

Thanks!

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

Start by locating the code that produces the "Texts" fields in the PDF-to-JSON conversion and inspect how embedded-font information is represented. Done means text objects include font information such as a font name or object id without embedding the font itself.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
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.