Page 1 of 1

japanese text broken in winxp EN

Posted: 2008-12-23T22:01:13-07:00
by vuthecuong
Hi,
In winxp EN with JP locale installed (I can type Japanese in MS words after switching from EN locale
to JP locale), I cannot output jp text to image:
EX: convert –size 300x200 –pointsize 70 –font MSMICHO.TTF label:日本語 test.jpg
- Above command did not raised any error but outputted image have text日本語 broken.

I’m sure U have JP font installed.
Regional Option tab in Regional setting of Control Panel have set to Japanese, “Language”
tab have “Install files for East Asean languages” checked (meant JP fonts were installed)
and “Advanced”tab have “Language for Non-Unicode programs”combobox set to “Japanese”.

What I’m still missing?

P/S: Do I need to install IM in WinXP JP ver for proper JP text output to image???
Thanks and regards,

Re: japanese text broken in winxp EN

Posted: 2008-12-23T22:12:33-07:00
by anthony
The output appears to look fine to me except it came out as two lines (the second blank). The symbols appear to look as you give in your message.

As such what do you mean by 'broken' ?

There is no need to set or modify the locale as the text is just treated as unicode text. Locale i used fro specifing differences in search, character case, time and monetary symbols, not for drawing or displaying the text.

Re: japanese text broken in winxp EN

Posted: 2008-12-23T22:22:48-07:00
by vuthecuong
Thanks for fast response Anthony.
No, totally broken (with question mark), Japanese people cannot
understand that it is '日本語', it it not human-readble.

PS: I faced this in Freebsd also. My solution is that adding export ja.utf8 to .xinitrc and IM
in freebsd became happy with JP text.
But in windows I still dont know.
regards

Re: japanese text broken in winxp EN

Posted: 2008-12-23T23:14:30-07:00
by anthony
Looks perfectly similar to the unicode characters '日本語'
Very readable. perhaps your Mincho font is broken!

Code: Select all

convert -pointsize 70 -font Mincho label:'日本語' jap.jpg
produced
Image

Looks like the unicode to me. this was under Linux with the MSMincho TTF font.