Forums: 公開討議 (Thread #6234)

Win2000 で complex script を有効に (2004-10-22 19:43 by exeal #11623)

XP (東アジア版) では既定で有効なのですが、2000 ではアラビア語やヘブライ語などの右から左に読む文字が右から左に表示されます。これはメモ帳などでも同様です。また、ベトナム語やタイ語もうまく表示できないかもしれません。

サロゲートを有効にする方法は有名ですが、これらの complex script を有効にするにはサロゲートの場合と同じく、レジストリの以下の部分にデータを書き込むとうまくいくようです。

[HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack]
ARABIC=0
HEBREW=0
INDIAN=4
THAI=1
VIETNAMESE=3

ただしこの方法は私が勝手に見つけたもので、不具合が生じるかもしれません。その場合は自己責任でお願いします。

Reply to #11623×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

すいません (2004-10-22 19:46 by exeal #11624)

書き忘れました。レジストリに設定するデータは全て DWORD 型です。

それから "HKLM" は "HKEY_LOCAL_MACHINE" の略です。
Reply to #11623

Reply to #11624×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

またまたすいません (2005-06-09 17:45 by exeal #14615)

度々すいません。

本文の「..右から左に読む文字が右から左に..」は
「..右から左に読む文字が左から右に..」の間違いです。


# 確証は無いのですがこの設定は Lpk.dll という DLL の
# 振る舞いを変更するものだと思われます。
# Lpk.dll は GDI 全般を表現する GDI32.dll や
# Uniscribe の usp10.dll と関係の深い DLL です。
Reply to #11623

Reply to #14615×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: またまたすいません (2005-06-09 17:47 by exeal #14616)

Reply to #14616×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: Win2000 で complex script を有効に (2005-06-14 18:29 by exeal #14691)

不確かなことばかり書きますが。

最初に書いた4つの値と、サロゲートペアを有効にする
"SURROGATE=2" のどれか1つでも設定されていると
complex script が有効になるようです。

Win NT 4.0 SP6 でもやってみましたが、
全く効果はありませんでした。Lpk.dll も無いようです。

Alpha の NT 4.0 における双方向テキストの対応は
当分はやらないつもりですが、
他の言語への対応とあわせて、将来実装するかもしれません。
Reply to #11623

Reply to #14691×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login