Page 1 of 1

Oriental languages Japanese, chinese, Korean, etc

Posted: 2012-12-01T09:07:30-07:00
by laurent68
Hi,

On my screen I see perfectly all languages : korean, japanese, hebrew, korean, hindu etc

But when I want to make a test and write in a picture

Code: Select all

convert -background white -fill black -font Arial -pointsize 15 -size 600x -encoding Unicode -gravity center -density 96 caption:@toto.txt titre1.png
toto.txt is a UTF8 file contening a word in chinese, korean, greek, japanese, korean, greek, arabic : 蘋果 أبل το μήλο התפוח सेब リンゴ 애플 แอปเปิ้ล Яблуко سیب

The result is ok for Greek, hebrew, Rusian, arabic language but I have only ??? for chinese, japanese, korean, hindu.

Any idea ?

Best regards

Laurent

Re: Oriental languages Japanese, chinese, Korean, etc

Posted: 2012-12-01T09:12:24-07:00
by henrywho
try specifying a font like Arial Unicode MS or PMingLiU

Re: Oriental languages Japanese, chinese, Korean, etc

Posted: 2012-12-01T21:03:06-07:00
by magick
Agreed, you must find the Unicode version of Arial. On our system, we have arial.ttf but also arial-unicode.ttf. Only the arial-unicode.ttf works for your command.

[solved] Re: Oriental languages Japanese, chinese, Korean, e

Posted: 2012-12-02T01:13:17-07:00
by laurent68
Hi,

thanks a lot. yes it works with Arial-Unicode-MS :-)

Laurent