Skip to content

Janeway: embedded PDF won't display #12

@alainna

Description

@alainna

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions