02-17-2022 04:25 AM
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.
regards
Daniel
02-17-2022 06:45 AM
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.
02-17-2022 11:14 PM
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.
02-18-2022 12:35 AM
You may try upgrading the PDFjs version in Alfresco 5, but not sure if that is doable.
02-22-2022 09:08 AM
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!
Explore our Alfresco products with the links below. Use labels to filter content by product module.