Raymond Toy writes:
>>>>> ">" == Colin Rafferty
<craffert(a)ms.com> writes:
>> I'm not sure that it's possible, since you may want
to change your
>> fonts in .emacs, and we don't want them to then be overridden by
>> make-font-italic and friends.
But it *was* possible because it worked in b65 and earlier. If the
font already exists we shouldn't touch it.[1]
Well, I'm not disputing you. I'm sure it used to work, since I have
that line in my .emacs file.
Would it be possible to defer all settings of fonts and to defer the
splash screen until *after* .emacs is run?
But then I couldn't modify the italic font in my .emacs.
For example, if I wanted to make the italic font larger than the
default, but still italic, I can put this in my .emacs:
(make-face-larger 'italic)
However, if the italic font hasn't been set up, this will fail (or at
least, not do the right thing).
What we could do is have the fonts set up after .emacs, but also allow
a function `setup-default-fonts' to be called in .emacs, that will set
them earlier.
This way, I can do this:
(setq *try-oblique-before-italic-fonts* t)
(setup-default-fonts)
(make-face-larger 'italic)
Of course, this is truly ugly. Unfortunately, this is what we seem to
need.
--
Colin