Raymond Toy writes:
Thanks for the info. This is interesting. I set initial-frame-plist
and
default-frame-plist to be the same. I start xemacs and the initial frame
is the same size as if I did xemacs -vanilla. After a bit it shrinks to
some smaller size because I set my default font. Then I click on the
splash screen and it grows to the expected size. This doesn't really
bother me.
That still bothers me. Something is "strange and overly complexified"[1]
here.
That's probably it. (face-font 'default) says DejaVu Sans
Mono-10, but
(face-font 'bold) says -12. So I actually have to specify the bold face
too? I had thought that the other fonts where derived from the default if
it wasn't specified.
Well, sort of. What we *should* have is face inheritance. Then 'bold
would inherit font family from 'default. Unfortunately, in the old X
bitmap font model faces like bold and italic had to be provided as
separate font files, and many fonts didn't provide them. So finding a
bold font for any given font often required search beyond merely
changing the weight parameter. Since code needed to be called
dynamically, it kind of needs to be done explicitly, and it isn't
always done.
And setting the bold and italic fonts appropriately makes the splash
screen
come out neatly in columns.
Yay!
I'll set a bug for trying to make this more automatic so users don't
need to do it. It really shouldn't be necessary with OpenType, and
true inheritance should be fairly easy to implement.
Another display glitch: When the initial frame is resized, the Help
menu button is not displayed. If I resize the frame slightly (in
any direction), the Help menu is displayed again.
OK, there are some redisplay glitches where some parts of XEmacs think
the frame is of a different size than others do. This is probably
just a another manifestation.
Footnotes:
[1] Ben Wing quote from a comment in redisplay. ;-)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta