Oriental languages Japanese, chinese, Korean, etc

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
laurent68
Posts: 2
Joined: 2012-11-30T00:18:03-07:00
Authentication code: 6789

Oriental languages Japanese, chinese, Korean, etc

Post 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
henrywho
Posts: 188
Joined: 2011-08-17T06:46:40-07:00
Authentication code: 8675308

Re: Oriental languages Japanese, chinese, Korean, etc

Post by henrywho »

try specifying a font like Arial Unicode MS or PMingLiU
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Oriental languages Japanese, chinese, Korean, etc

Post 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.
laurent68
Posts: 2
Joined: 2012-11-30T00:18:03-07:00
Authentication code: 6789

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

Post by laurent68 »

Hi,

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

Laurent
Post Reply