>>>> "Jan" == Jan Vroonhof
<vroonhof(a)math.ethz.ch> writes:
Thank you for your reply!
Jan> "Stephen J. Turnbull" <turnbull(a)sk.tsukuba.ac.jp> writes:
> It has _not_ been in this state for a while. It was _not_ in
> this state in 20.4, and not in some sufficiently early 21.0
> betas.
Jan> Note that I changed the font-menu to be Custom aware quite
Jan> recently. I probably messed something up there or uncovered
Jan> an hidden problem.
"Recently" == when? I'd like to test a pre-change XEmacs. (I do see
a "font-menu fix by Jan Vroonhof" in CHANGES-beta for "Norwegian".
I'll assume that's it unless you say otherwise.) Anyway, I'm running
a cvs diff now, and will look at it after my exciting afternoon filled
with faculty meetings drags to a state of maximal entropy. I'll let
you know if I see anything.
Jan> If I am correct your problem is that choosing a different
Jan> font from the font menu screws up other fonts (in this case
Jan> the Kanji ones)?
Yes. Either changing font or changing size does this.
Jan> 1. Where this also happens if you make exactly the same
Jan> change with Customize (i.e. M-x customize-face RET default
Jan> RET)
Yes, the ugly font gets selected. Yes, once the ugly kanji gets
installed changing fonts or size through the options menu or through
custom does not affect that ugly kanji font; it is wedged in the same
font, same size.
Jan> 2. If you save options and then restart XEmacs are the
Jan> fonts OK?
No, the ugly fonts get "saved." (I assume that they don't actually
get saved, they just get selected by the same process that selects
them from the Options menu.) Restarting with xemacs -vanilla restores
the pretty fonts (of course).
Jan> 3. If setting font-menu-ignore-scaled-fonts to nil really
Jan> early (i.e. before the first access to the font-menu) helps.
No. :-( To be precise, I started with `xemacs -vanilla', executed
`(setq font-menu-ignore-scaled-fonts nil) in *scratch*, and then
loaded .xemacs, with the saved options that were created in answering
question 2.
Unfortunately, scaled bitmap fonts do not appear to identified as
scaled by my X server (XFree86: XF86_SVGA), they just appear in the
font list (in xlsfonts and xfontsel as well). I can defeat them by
setting adding the `:unscaled' keyword to my kanji font directories in
X11's fontpath, but I prefer not to since I have so few kanji fonts,
all are bitmaps, and they are usable at some scalings.
Jan> 4. If you have an old .xemacs-options from an XEmacs that
Jan> worked and you used a 'option-save-faces = t' to save them,
Jan> what are the settings saved for the fonts.
No, I don't have one.
Jan> Unfortunately in order to 'keep it simple for the User' and
Jan> to preserve compatibility with FSF Emacs the customize view
Jan> of fonts is decidedly more primitive than the XEmacs one.
Wel, as Martin pointed out, the XEmacs view of fonts is also lacking.
But then, whoever wrote the comments in the various parts of the font
code (jwz?) would argue that X's view of fonts is just plain broken.
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +1 (298) 53-5091