by Michael S. Kaplan, published on 2010/11/29 07:01 -05:00, original URI: http://blogs.msdn.com/b/michkap/archive/2010/11/29/10097446.aspx
Back at the beginning of the month, swalleh asked over in the Suggestion Box:
Is there a way I can use MSKLC to type [characters outside theBMP]?
I am trying to type the unicode character 𝖳 1D5B3 using MSKLC .
The character appear on my keyboard layout plan, but nothing appear when I try to use it to type in word 2010 using cambrian math font.
I need 4 characters with fixed case namely : T D H and W in capital form. I found them in the extended characters -plane 1 series.
I could not find them anywhere else in unicode.
Is there a way I can use MSKLC to type them? I note the code for them is a 5 character one compared to the usual 4 for others.
If MSKLC is not suitable , would you be able to suggest an alternative .
That was my first thought when I read this -- had someone broken that core piece of MSKLC that supports characters beyond the Basic Multilingual Plane?
I created a special "math symbols" keyboard by typing all of the U+1d### characters in directly:
You may not be convinced I actually did anything here.
People who know me will often say I am not above a little smoke and mirrors.
Fine, I'll change the font to Cambria Math:
I also made the size really small because this font's metrics are pretty outrageous.
Let's try again:
Anyway, it works just fine.
I also tried other methods of adding characters to keys in MSKLC like copy/paste from other applications and drag/drop from IE to the MSKLC key -- the former always worked, the latter had mixed results.
If you still don't trust me, then
The download can make it easier than the DIY aspects of reproducing all of the results in this blog.
I did notice a few bugs in MSKLC itself that have never (as far as I know) been reported:
Someone on the GDX team should put those bugs in, just in case Microsoft ever ships another version.
Though no one seems interested these days, even for the meaningful bugs....
Okay, so it works in MSKLC. Let's try the next part, and type in Word 2010 using Cambria Math:
Okay, that sort of worked maybe.
Word decided to autoselect MS Mincho instead of the font it started with (Calibri) even though it didn't change the language.
Even choosing the font first and then typing didn't work -- I am prepared to forgive the former much more readily than the latter.
I'd say somewhere between Word 2010's "be clever with font stuff" and MS Mincho's font definitions. I would guess that it is at least 90% Word's fault and MS Mincho happens to claim it supports some math stuff, even if not this particular math stuff.
Word should fix its bug after all the work they did for math suppport. Any Word testers hanging out here? :-)
Okay, let's just select the text and change the font ourselves, that should do the trick:
So minus a Word 2010 bug for some Plane 1 recognition weirdness, I'd say we are all set here with MSKLC 1.4.
And then there are some other bugs that won't block users that someone may want to look in some day.
One thing I must admit about MSKLC is that it has many different ways to enter characters because of some unofficial usability studies we did by giving it people to try and see what they did. So on the assumption that swalleh was simply trying to enter the characters in a way that did not work but maybe ought to in some future versions, knowing what that method was would also be useful....
This has to be the least comprehensible posting you have ever published on 12 Dec 2010 1:05 PM:
Even – especially – the illustrations fail to make sense.
Michael S. Kaplan on 12 Dec 2010 1:47 PM:
Hmmm -- someone reported problems with MSKLC that I thoroughly looked into. And while I couldn't reproduce the reported issues, I showed what I did try, with pictures to go go along with the descriptions and a sample file for people to try themselves. And I found a bunch of other bugs and problems while I did it, especially in Word.
I agree: utterly confusing, that. I am heartless.
zander on 4 Oct 2011 8:38 AM:
On my laptop it gets even worse. after downloadeding and building package in MSKLC the keyboard does not work at all except when pressing the Q key hehehe, the same bug haunts me in the keyboard layout i designed that again contains codes outside the BMP.
go to newer or older post, or back to index or month or day