Page 1 of 1
Non unicode compatible characters disappear during pdf to image conversion
Posted: 2015-11-19T18:38:26-07:00
by ogencoglu
Hi,
I have bunch of pdfs. All has scandinavian characters such as ä Ä ö å etc. While converting these to jpg by simply
Code: Select all
convert -density 400 K53.pdf test.jpg
in some of the output images these special characters are disappearing.
This problem is not present on my Windows machine but only on my ubuntu server. Both has IM 6.9.2-0 on it.
Any ideas?
Re: Non unicode compatible characters disappear during pdf to image conversion
Posted: 2015-11-19T20:06:43-07:00
by fmw42
Your unix server probably does not have those fonts on it or IM is unaware of their location.
Re: Non unicode compatible characters disappear during pdf to image conversion
Posted: 2015-11-19T20:26:29-07:00
by ogencoglu
But other letters are still there. For example "käsitellän" in the pdf becomes "k sitell n" in the image.
Re: Non unicode compatible characters disappear during pdf to image conversion
Posted: 2015-11-20T01:50:01-07:00
by fmw42
Prehaps, the font you seem to have is not a full UTF-8 compatible version of that font.
Re: Non unicode compatible characters disappear during pdf to image conversion
Posted: 2015-11-24T17:16:20-07:00
by ogencoglu
I copied all the fonts from my Windows machine to the unix server and installed them all. Still missing the scandinavian characters. Any workaround?
Re: Non unicode compatible characters disappear during pdf to image conversion
Posted: 2015-11-24T17:28:21-07:00
by fmw42
What do you get from
on both systems with regard to the delegates listed?
Are you missing either freetype or fontconfig?
And do you have the same Ghostscript version on both
Re: Non unicode compatible characters disappear during pdf to image conversion
Posted: 2015-11-25T04:37:12-07:00
by ogencoglu
I solved the problem by upgrading GS from 9.10 to 9.15. Thanks.