Well, I got Japanese working. At least kind of. One of the problems that I had to deal with was the font matching algorithm. There's this hook in the Locale framework to cause serif matching to be turned off in certain cases. I presume this is yet another part of the Locale framework that was added just for good old Japanese. In fact, a good half of what a Locale is, looks like it's there to support Japanese. The reason you want to ignore serif, is because there really isn't any sense of "serifness" to japanese character sets. So you just want to leave it out of the algorithm completely.
Well, it turns out that not only is serifness a nonexistent attribute for a Japanese font, under Linux, from all of the TrueType fonts and the like I could find for Japanese, there's never any bold or italic variants. So if you have a text style that searches multiple families, it will skip your japanese family and match another family instead. To get it working for now, I modified the XFont>parse: method. There's a clause in there, where certain encodings, the fixedWidth: attribute is nil'd. I just extended that clause to do the same with bold and italic.
I do note that a much simpler more straightforward font matching algorithm might have dealt better with this. The CSS one would have got it right.
When one specifies a font query, the boldness gets one value, as do all of the other attributes, except family. For that you can presents a list of candidates. This creates an ambiguity. If it can get the first family, but not all of the other attributes match exactly, should it move to the next family, and use it? Or not? The VW algorithm tries to be "fuzzy" about it. CSS is explicit about it's rules. XFT allows the query language to spell out a little more clearly what exactly your priorities are.
Another problem that became apparent in this excercise was that the current mechanism of allowing the Locale to specify certain attributes, to be later unioned with the application specified font is not that robust. IOW, I have a logical font specification via a TextAttributes. But what that is is dependent on the target locale. But they depend on the application as well (e.g. it's not just a matter of modifying #systemDefault).