Hi, I am having the same issue. I am using Uonze PDF to test this.
I was using ImageMagick 6.7.7 and Ghostscript 9.10 on an Ubuntu 14.04 server and I was getting the same errors. So I tried updating, I manually installed ImageMagick 6.8.9-10. Later, I added Ubuntu's 15.04 repository to apg-get so I was able to install Ghostscript 9.15. But still, I have these errors with accent characters.
I tried using /convert command or /gs directly to convert the PDF and the issue is always there. My latest attempts was using these commands:
Code: Select all
gs -dSAFER -dBATCH -dNOPAUSE -sDEVICE=jpeg -sOutputFile=gs-test.jpg -dFirstPage=3 -dLastPage=3 -dRENDERTTNOTDEF=1 multi.pdf
Code: Select all
/opt/imagemagick-6.8/bin/convert multi.pdf[2] -alpha off -resize '1024x1024' -quality '75' im-test.jpg
These are the versions installed:
Code: Select all
gs -v
GPL Ghostscript 9.15 (2014-09-22)
Copyright (C) 2014 Artifex Software, Inc. All rights reserved.
/opt/imagemagick-6.8/bin/convert --version
Version: ImageMagick 6.8.9-10 Q16 x86_64 2015-07-30 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: jng jpeg png x xml zlib
Any ideas on how to fix this?
EDIT: I installed ImageMagick on a Mac OS, and it's converting the PDF file correctly. I'm starting to think it's a problem with FreeType library or something related to that. As you can see, freetype is not declared on the Delegates of ImageMagick 6.8.9 that I manually installed. But it't declared on the ImageMagick 6.7.7 from the Ubuntu's official repository:
Code: Select all
$ convert -version
Version: ImageMagick 6.7.7-10 2014-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
$ convert -list configure |grep DELEGATES
DELEGATES bzlib djvu fftw fontconfig freetype jbig jpeg jng jp2 lcms2 lqr lzma openexr pango png rsvg tiff x11 xml wmf zlib