Raymond Toy writes:
Using customize, select the italic font. Turn off the italic
button.
Set the change. The sample should now be upright. Now go and turn on
the italic button and set the change. The sample should now be using
the oblique version.
You can do the same with bold-italic.
The problem with this is that it sets the face to a specific font, and
if you want to change this, you have to change default, italic, and
bold-italic.
What we want to be able to do is set just the default font, and have
all the other fonts magically inferred correctly.
My guess is that by doing this, customize-face actually goes out and
sets the face appropriately and honors *try-oblique-before-italic-fonts*.
Sure. *t-o-b-i-f* works correctly (with my patch applied), but it
just doesn't get set early enough.
I just tried this in my .emacs, and it works. However, it's pretty
ugly.
(setq *try-oblique-before-italic-fonts* t)
(make-face-unitalic 'italic)
(make-face-unitalic 'bold-italic)
(make-face-italic 'italic)
(make-face-italic 'bold-italic)
I'm not sure that we want to be telling our users that they need to do
this to get the fonts right.
--
Colin