Pdf preview in Document and Media

Lisa Rossi, modified 5 Years ago. New Member Posts: 22 Join Date: 3/5/20 Recent Posts
Hi all, i'm using Liferay 6.2 GA6, and i have some problems with pdf preview in Document and Media Section. The text of pdf is confused. I also installed ImageMagick and ghostscript, but nothing change. I attach an image to make the idea better.
Can anyone help me?Thanks Lisa
thumbnail
Andrew Jardine, modified 5 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
Hi Lisa, 
That almost looks like a problem with translating characters, maybe linked to an encoding issues? What encoding is found on the PDF file?
Lisa Rossi, modified 5 Years ago. New Member Posts: 22 Join Date: 3/5/20 Recent Posts
Hi Andrew, i attach the properties of the document. I also tell you that when I download the document, it is correctly readable.
Thank you
Lisa
thumbnail
Andrew Jardine, modified 5 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
Hi Lisa,Unfortunately that doesn't seem to give us much information. I'm pretty sure that what happens behind the scenes is "an image" is generated from the PDF. Makes sense of course given the necessity of Image Magick being present. 

Here is what I would try next. I would try using the command line tools and using Image Magick to generate an image from the PDF. Check what the results are -- do you see the same gobbly gook?
Lisa Rossi, modified 5 Years ago. New Member Posts: 22 Join Date: 3/5/20 Recent Posts
Hi Andrew, 

I did what you suggested, and the image is correct. I don't know what is the problem.

Lisa
thumbnail
Andrew Jardine, modified 5 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts
Hey Lisa,Even though it's not fixed, we can eliminate one additional possibility, so I still think we're moving forward emoticon

Can you attach the PDF here so I can try it on my side?
Amos Fong, modified 5 Years ago. New Member Posts: 22 Join Date: 3/5/20 Recent Posts
Andrew Jardine:

Ehi Lisa, anche se non è stato risolto, dobbiamo scaricare un'opzione possibilità, quindi continuo a pensare che stiamo andando avanti emoticon

Puoi allegare il PDF qui in che modo posso provarlo dalla mia parte?

​​​​​​​Yes, i attached it.