smalot / smalot/pdfparser

iOS annotations causing parsing problems

Open
#276 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When trying to edit a PDF containing an annotation made on an a iPhone device the library returns a strange binary/hex string.

This only applies to the annotation made on IO's, if the annotation is changed using Preview on MAC OS. The file can be processed correctly.

image

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

The issue names no source files, tests, or parser entry points. Reproduce the problem with a PDF containing an annotation made on an iPhone and compare it with the same annotation changed in Preview on macOS; done means iPhone annotations are processed without returning a binary or hexadecimal string.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.