eScholarship / janeway

A journal management system designed for publishing scholarly articles.
GNU Affero General Public License v3.0
2 stars 0 forks source link

Janeway: embedded PDF won't display #12

Open alainna opened 1 week ago

alainna commented 1 week ago

Issue

A Janeway preprints author has submitted a preprint that could be successfully viewed, but which appeared mostly blank when embedded in Janeway preprints. Although the moderator managed to resolve the issue by "printing" the problematic PDF to a new PDF, the new PDF is a view-only image and no longer has selectable text or hyperlinks. Janeway and eScholarship both use pdf.js to embed PDFs, and additional tests have found that eScholarship does not have issue displaying the problematic PDF. Thus, this may be a bug to file with OLH.

Please help confirm the issue and suggested resolution. Problematic PDF can be obtained here for additional testing: https://dev.ecoevorxiv.org/repository/view/2903/ (version 1 is author's original)

Steps to reproduce

  1. Open PDF in browser and preferred PDF browser. Note that PDF displays text. image
  2. Deposit PDF to Janeway, publish, and view embedded: https://dev.ecoevorxiv.org/repository/view/2903/ Note that PDF does not display most text. image
  3. Deposit PDF to eScholarship and view embedded; note that PDF displays text: image

Expectation: Embedded PDF would display similar PDF view to eScholarship, or to opening in a preferred PDF viewer application.

Misc: Could it be related to this particular font issue? image