cancel
Showing results for 
Search instead for 
Did you mean: 

PDF document preview shows only blank sheet no text

dansiebert
Champ in-the-making
Champ in-the-making

I've recently been creating indexed PDF files with a Fujitsu ScanSnap iX1500 document scanner.
When I upload these PDFs to my Alfresco (Alfresco Community Build 201612, Alfresco Platform 5.2.d, Alfresco Share 5.2.c) and then want to view them, they are not displayed properly in the viewer. I only see a blank sheet. Shades from scanning (in shades of gray) can also sometimes be seen. However, if I use the magnifying glass to search in the preview, the search terms are found and on the sheet that is only displayed in white, the place where the word normally appears is marked in blue.
I can also mark the entire area on the sheet with the mouse and then transfer it to an editor via copy and paste. Then you have the text in the editor. The text is therefore present in the preview but is not displayed, only the background of the PDF document. What can be the reason?
The very small thumbnails in the file overview in a folder are OK.

image

image

image

regards
Daniel

6 REPLIES 6

angelborroy
Community Manager Community Manager
Community Manager

Alfresco is using PDF.js for that (https://mozilla.github.io/pdf.js/).

Try those files on a recent Alfresco version to check if that ifxes the issue.

Hyland Developer Evangelist

Thank you for the quick feedback. Yes, it works in a current environment (at my work). But at home I wanted to stay on the older version if possible, because it is so compact and not all components (web server, database,...) individually are installed. At that time I had chosen this all in one installation version (on Debian Linux). This is very beneficial for backup and recovery. It would be nice if I knew how to fix the error in the old version 5. Possibly only one binary needs to be exchanged.

You may try upgrading the PDFjs version in Alfresco 5, but not sure if that is doable.

Hyland Developer Evangelist

bvalente
Champ in-the-making
Champ in-the-making

Hello,

I've the exact same problem in my Alfresco 5.2 instance.

Can you please give us some guidelines to update the pdf.js lib in this Alfresco instance?

I've already tried to update the share.war without success.

Thank you in advance!