PDF object noise inside `font.name`
- Dominant language
- Python
- Stars
- 848
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
The line `font.name = "Type3 (15 0 R)"` (instead of `font.name = "Type3"`) stopped my level 2 headings from being generated in this PDF:
[Mechanics _ Definition, Examples, Laws, & Facts _ Britannica.pdf](https://github.com/user-attachments/files/28742880/Mechanics._.Definition.Examples.Laws.Facts._.Britannica.pdf)
It's probably a bug in the PDF extractor, but as the author said the tool is modular so workarounds are easy: hopefully this helps out others before they wonder what happened to some of their headings...
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by reproducing the supplied PDF and trace how the extractor produces `font.name` values such as `Type3 (15 0 R)`; done means the resulting level 2 headings are generated correctly without breaking other PDF headings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100