hypothesis / hypothesis/support-legacy

Some PDFs on iOS are showing as blank

Open
#178 2 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We have received occasional reports of iOS devices not showing any text on a PDF in the Hypothesis viewer. See:

- https://app.hubspot.com/contacts/6291320/ticket/245053009/
- https://app.hubspot.com/contacts/6291320/ticket/298760738/
- https://app.hubspot.com/contacts/6291320/ticket/327827814/

PDFs work perfectly fine using desktop browsers, but on iOS devices will render as below:
![Student Problem Alex LeGault (1)](https://user-images.githubusercontent.com/71603629/110380546-40d8e180-8026-11eb-812c-0b9cb6b24a8e.jpeg)

PDF renders badly in iOS Safari and Chrome. Forcing a new OCR on the PDF using https://docdrop.org/ocr/ does not change behavior either.

I was able to get a working PDF in iOS by exporting the original to TIFF, then re-exporting as PDF, finally running the document through OCR again. Essentially creating an entirely new PDF from image.

**To reproduce**
On an iOS device, open the following assignment: https://hypothesis.instructure.com/courses/92/assignments/1475

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.