Problems with pdfJsViewer plugin in OMP 1.2

Hi,

Sometimes my PDF are correctly viewed in website. Sometimes not.
Example:
First load:

FullScreen visualisation:

Back to normal visualisation:

Some font and layout problems before click in fullscreen button.
It happens more in google chrome and in opera, internet explorer and firefox happens less frequently.

Hi @Tarcisio_Pereira,

This is related to the PDF.js PDF viewer that we include, which formats PDF documents into HTML5 for web-based viewing. I would suggest communicating with someone on that project: GitHub - mozilla/pdf.js: PDF Reader in JavaScript

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher

Thank you.

Regards,
Tarcisio Pereira

Hi @asmecher

Would it be possible to update PDF.js in OMP?
Or any tips of how could I upgrade, at least my installation, so I’ll see if it solves the problem?

Regards,
Tarcisio Pereira

Hi @Tarcisio_Pereira,

I’ll have a look at this over here: Update PDF.js to newer/latest · Issue #13 · pkp/pdfJsViewer · GitHub

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Hi @asmecher

Take a look: Visualisation problems · Issue #7908 · mozilla/pdf.js · GitHub
And here: Random / apparent "bolding" / corruption · Issue #7136 · mozilla/pdf.js · GitHub

I still do not quite understand how to fix this.
But I’m warning you so that you don’t waste your time updating the plugin.
Any news I’ll let you know.

Regards,
Tarcisio Pereira