Page 1 of 1

Upgrade problems

Posted: 2009-09-01T22:49:00-07:00
by Kuvaverkko
Hello,

I have this wierd problem..

I have had on my server and on my laptop the IM version 6.4.2 for a while that has been working very good. and I have on the server linux and on the laptop Windows Vista.

Now I decided to upgrade them to the latest version of IM and I got problems..

Started with the laptop and didn´t get any of the newest versions to work, Vista just said it crashed and stopped it from working.. The first older version I got working was 6.5.4-0.
With the server I got the newest version Installed with no problems but when drawing text on pictures it didn´t draw the special characters like "äöå" that I need. So I had to go back to a version of 6.5.0-10 to get the special characters to work.
I now I noticed that the laptop version 6.5.4-0 has the same problem with the special characters..
I have tried different fonts and with no fonts (IM default).
Here is an example convert line.

convert -background transparent -fill black -font Arial -size 400x250 -gravity Center caption:"Meidän name" name.png

This cuts the drawing at Meid.

Thanks.

Re: Upgrade problems

Posted: 2009-09-02T08:17:18-07:00
by fmw42

Re: Upgrade problems

Posted: 2009-09-02T21:26:40-07:00
by Kuvaverkko
I have read it a few times and tried with the examples but the result the same.

convert -background lightblue -fill blue -pointsize 32 label:' é è à ù ç Ö ÿ ‘ ’ “ ” ° ² ³ € x ÷ ' label_i8n.gif

This gives me an empty lightblue gif picture, if I take the space away from before the character é the I just get an empty gif.

And the wierd thing really is that it has worked just fine with older version of IM..

Re: Upgrade problems

Posted: 2009-09-02T21:40:20-07:00
by fmw42
the problem is that you are likely pasting text that is NOT in unicode/utf-8. you need to put the text into a unicode file and then call the file rather than type or paste the character string.

see

convert -background lightblue -fill blue -pointsize 48 \
-font ZenKaiUni label:@chinese_words.utf8 label_utf8.gif


from http://www.imagemagick.org/Usage/text/#unicode

you must make sure your text editor is capable of utf-8 format and is in the proper mode to save the utf-8 characters without losing the proper format.