by Michael S. Kaplan, published on 2010/01/21 07:01 -05:00, original URI: http://blogs.msdn.com/b/michkap/archive/2010/01/21/9951284.aspx
Over in the Suggestion Box, Andrew West asked:
I have used the Table Driven Text Service to create an input method for a not-yet-encoded script (Tangut) using PUA codepoints. It was easy and it works great, except that the PUA Tangut characters do not display on the candidate list, which is quite inconvenient, especially in those cases where two or three characters share the same input sequence. So I was wondering, is there any way to specify what font to use for the candidate list?
Now it is interesting that you ask this question, Andrew.
As you know, we aim to please here. :-)
As it turns out, the folks in Taiwan were not thrilled about the way that the Array and DaYi IMEs looked on non-CJK UI language systems -- since DEFAULT_GUI_FONT was being used, the size ended up being 8 on those machines, which is not great for those IMEs on Chinese, Japanese, or Korean UI language systems.
They wanted 9pt, darn it!
Plus any time they were on Simplified Chinese UI language system, they were getting the font chosen in the IME that they just didn't want (SimSun).
They wanted PMingLiU, gosh darn and to heck with it!
So in Windows 7, the information/option to support them was added to the TableTextService text files. You can check it out in the Windows 7 files for TableTextServiceDaYi.txt and TableTextServicesArray.txt in the configuration section:
And there you go!
You can put in some other font facename/size there and that font will be used instead (otherwise it will default to whatever GetStockObject(DEFAULT_GUI_FONT) returns, as it does for most of the built-in IMEs, and in Vista....
So I guess maybe you could say that you love Windows 7, and that it was your [independently requested] idea, Andrew!
Andrew West on 21 Jan 2010 8:36 AM:
That's great news, and with my eyesight I'll definitely be upping the font size as well. My only problem now is getting my daughter to let me use the Windows 7 laptop whenever I need to type Tangut ... I bought it for myself, but I ended up with the old Vista machine :-(
Andrew West on 21 Jan 2010 2:15 PM:
I've just tried installing my input method on my 64-bit Windows 7 system, and for some reason it is not showing up in the Add Input Language dialog at the end of the process. I followed your instructions at http://blogs.msdn.com/michkap/archive/2008/06/30/8669123.aspx exactly (duplicating steps for both Program Files directories as necessary), and also tried installing your Tamil input method, but also with no success. I had no problems installing it on Vista, so I wonder if you have any ideas about what I might be doing wrong?
go to newer or older post, or back to index or month or day