Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Pdf preview in Document and Media
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
Can anyone help me?Thanks Lisa
Attachments:
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?
That almost looks like a problem with translating characters, maybe linked to an encoding issues? What encoding is found on the PDF file?
Hi Andrew, i attach the properties of the document. I also tell you that when I download the document, it is correctly readable.
Thank youLisa
Attachments:
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?
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?
Hi Andrew,
Lisa
I did what you suggested, and the image is correct. I don't know what is the problem.
Lisa
Hey Lisa,Even though it's not fixed, we can eliminate one additional possibility, so I still think we're moving forward
.
Can you attach the PDF here so I can try it on my side?
Can you attach the PDF here so I can try it on my side?
Andrew Jardine:
Ehi Lisa, anche se non è stato risolto, dobbiamo scaricare un'opzione possibilità, quindi continuo a pensare che stiamo andando avanti.
Puoi allegare il PDF qui in che modo posso provarlo dalla mia parte?
Yes, i attached it.
Attachments: