smalot / smalot/pdfparser

incorrect parsing tt and ti

Open
#663 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
2.7k
Forks
579
Avg merge
2m
Merged PRs (30d)
1

Description

  • PHP Version:
  • PDFParser Version: 2.7.0

It seems like the parser has trouble reading tt and ti when they're in between words. I get a symbol that has a question mark instead.
What can I do?

Contributor guide

Open the contributing guide

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 reproducing the parsing problem described for “tt” and “ti” when they appear between words, using PDFParser 2.7.0 and a representative PDF. Trace the parser's handling of those characters and confirm that the extracted text no longer contains a question-mark replacement.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.