[OJS 3.3.0.7] PDF is not displayed correctly in PDF.JS PDF Viewer

Hi Alec,

I found a small workaround that resolved the issue for us. Unfortunately, you need Adobe Acrobat (and not just the free Adobe Acrobat Reader) for this workaround, though there might be free alternatives that can do the same. I followed these steps:

  1. Open the PDF-file that did not display correctly in Adobe Acrobat.
  2. Select File > Save as other > Reduced File PDF.
  3. Choose 'Make compatible with: Acrobat 4.0 and later.
  4. Upload this version to OJS instead of the former version.

For some reason, this reduced file pdf was rendered perfectly by the PDF.JS PDF Viewer. Moreover, I did not see any differences in terms of quality between the original PDF and the reduced file PDF, so for us this workaround did the trick. Hopefully a similar approach could help
ohiray
as well (see this topic: OJS 3 -- PDF viewer).

Edit: I forgot to mention that we checked if we ran the most recent version of the PDF viewer-plugin and we indeed did.

2 Likes