Search
Active

2
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 371413
Opened: 9/30/2008 7:06:27 PM
Access Restriction: Public
0
Workaround(s)
1
User(s) can reproduce this bug
テキスト エディタ内で日本語を入力するとき IME (MS-IME, ATOK など) を使いますが, このときのフォントが Visual Studio (IDE) のオプションで設定したフォントにならずに, 常に「MS ゴシック」が使われています。IME は MS-IME と ATOK で試しましたが, どちらも「MS ゴシック」が使われ, 変換確定と同時にエディタに指定したフォントに置き換わりました。VS2003 では期待通り正しく表示されます。

IME を必要としない言語圏やテキスト エディタのフォントを標準のままにしている場合は, この問題に気づかないでしょう。

私の経験から IME のフォントを設定するには, そのウインドウに ImmSetCompositionFont 関数を使って入力中に使用されるフォントを設定しなければなりませんが, これが適切に設定されていないと考えられます。
Details (expand)
製品言語
日本語
バージョン
VIsual Studio 2008 Service Pack 1
オペレーティング システム
winxp pro
オペレーティング システム言語
日本語
再現の手順
IDE の「ツール」-「オプション」-「環境」-「フォントおよび色」で「テキスト エディタ」のフォントを「MS ゴシック」以外に設定します。デザインが大きく異なるフォントを使うと問題が分かりやすくなります。

新規ドキュメントで IME (MS-IME など) を使って文字入力します。

実際の結果
入力中 (作文中) のフォントがオプションで指定したフォントではないことに気づきます。

期待した結果
入力中 (作文中) のフォントはオプションで指定したフォントでなければなりません。
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 10/2/2008 at 2:20 AM
フィードバックをお送りいただきまして、ありがとうございます。いただいた報告内容に基づき、現在問題を調査中です。しばらくお待ちください。

Visual Studio Product Team

Problem Description:
Font is not specified one and changes to “MS Gothic” when entering Japanese using IME (MS-IME, ATOK etc…) in a text editor of Visual Studio(IDE).
I tried two IMEs, MS-IME and ATOK, both changes to “MS Gothic”. After committing by pressing space or enter key, it changes to the specified font.
In VS2003, the font was specified one without any problems.

This issue may be only for IME necessary languages.

From my experience, when setting IME font, the font which is used needs to be set the window using ImmSetCompositionFont method, but this seems to set improperly.

Repro Steps:
Set the font to any font other than “MS Gothic” from IDE
“Tools” – “Options” – “Environment” – “Fonts and Colors” – “Font” of “Text Editor”
Using the big different from MS Gothic makes clear the point of this issue.

Enter characters using IME (MS-IME etc…)

Actual Results:
You will notice the font(during enter) is not specified in “Options” while you are entering.

Expected Results:
The font(during enter) has to be the one specified in “Options”.



Posted by Microsoft on 10/2/2008 at 8:18 PM
Thanks for your feedback. We are escalating this bug to the product unit who works on that specific feature area. The team will review this issue and make a decision on whether they will fix it or not for the next release.

Thank you,
Visual Studio Product Team
Posted by Microsoft on 10/2/2008 at 9:01 PM
フィードバックありがとうございます。こちらの件は該当する機能の担当チームにエスカレーションいたしました。今後はそのチーム内でこのバグを次のリリースでフィックスするかどうかを検討いたします。

よろしくお願いします。
Visual Studio Product Team
Posted by Microsoft on 12/31/2008 at 11:42 AM
Thank you for reporting this issue. The Visual Studio Platform team is currently investigating this, and we hope to fix it for a future release.

Thanks again,
Brittany Behrens
Program Manager, Visual Studio Platform
Posted by Microsoft on 1/5/2009 at 12:10 AM

この件、ご連絡ありがとうございます。Visual Studio Platformチームが現在この件を調査中です、将来バージョンで修正できればと思います。

再度、お礼を申し上げます。
Brittany Behrens
Program Manager, Visual Studio Platform
Posted by Microsoft on 1/17/2009 at 5:53 PM
Thank you for logging this suggestion. The experience that you see now is the result of the Level 2 Input Method Editor which overlays on top of the editor surface. Unfortunately, these levels of IMEs do not allow us the control to display the correct font. Hence, I'm resolving as "Won't Fix" for the current release.

In future versions we hope to improve upon our support for Level 3 IMEs and when we move to those that will eventually address the issue.

Thanks!
-Sean Laberee
VS Platform Team
Posted by Microsoft on 1/21/2009 at 5:57 PM
こちらの件をご連絡いただきありがとうございます。現在、遭遇されているこちらの現象はエディターの表面に重なって表示されるインプット メソッド エディター (IME) レベル 2 (の変換ウィンドウ)によるものです。
あいにく、このレベルのIMEでは我々が意図したとおりのフォントを表示するための制御ができません。そのため、現行のバージョンでは”解決済み(修正しない)”とさせていただきます。

将来版ではIME レベル3のサポートを望んでおり、レベル3への移行することで結果的に本件が修正されると思います。


よろしくお願いします。
-Sean Laberee
VS Platform Team
Posted by Microsoft on 1/21/2009 at 6:03 PM

ご指摘のようにフォントを指定することはできるのですが、2005以降のVisual Studio で実装されました独自のフォントリンクとの関係で、IMEの変換ウィンドウを利用した実装(Level2と呼ばれることもある)において、完全にフォントを整合させることは難しく、また、フォントが見つからない場合のリスクを考慮し、現状ではMS ゴシックに固定とさせていただいています。

完全には解決できないとしても、現状の特定フォントに固定という実装よりは良い実装も考えられると思いますが、マイクロソフトとしては、より完全に近い形での解決を目指し、アプリケーションによる変換中文字列の描画(Level3 と呼ばれる)の実装と並行して、フォントの整合の問題も解決するよう検討していきたいと考えております。