>>>> "jan" == jan <jan(a)xemacs.org>
writes:
jan> [One of my rare "awake from xemacs coma" moments.]
You have to do this more often. :-)
jan> I think in order to fix the bad interaction between the
jan> italic face and custom one "merely" needs to convert the
jan> size[1] function to use frobbing.
This works well for me in a quick test. I integrated the -helper
function into make-face-size (keep all the grotty stuff together), and
duplicated the setup you propose for the family property. Things
actually work now!
There _will_ be a 21.4 test release in honor of this. Like,
_tomorrow_. If I get no complaints (subject to comments from the
reviewers) it will go into the next public release (21.4.6).
jan> On the good side this (combined with the same for family )
jan> might very well get us a lot closer to having custom & Mule
jan> play well.
Not so, I fear. There are three issues. First, all serious Japanese
foundries have a "Mincho" (~ Times-Roman) and a "Gothic" (~
Helvetica)
family. Unfortunately, they often name them that, too. There are
also an awful lot of Japanese fonts with family name "fixed". So we
need to handle foundries to disambiguate. That's pretty easy, just
duplicate the family logic with foundry.
Second, we need to handle registries. This is going to require some
thinking. The internals are likely to be quite easy, because of the
magic in specifiers for dealing with registry matching. But that
bears watching.
UI is going to be an annoying problem. A single face's customization
widget already takes up a pretty big hunk of a typical Emacs window,
even if it's full-frame. So we need to come up with a sensible way to
handle this. GTK+'s font selector may be a reasonable model, but I
have no idea how hard that will be to do with Emacs widgets.
Third, I still occasionally find my Japanese fonts getting tromped by
Custom. This may be pilot error, because I have had a number of
relics in my init file and other places where I was doing it to
myself. But I don't know of any now, but I still have problems. It
hasn't been annoying enough to track down, so maybe it will just go
away.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Don't ask how you can "do" free software business;
ask what your business can "do for" free software.