[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Invalid face slant: roman"
From: |
mike |
Subject: |
Re: "Invalid face slant: roman" |
Date: |
Sat, 1 Mar 2008 16:37:45 -0800 (PST) |
User-agent: |
G2/1.0 |
On Mar 1, 12:42 pm, m...@trausch.us wrote:
> On Feb 24, 12:54 am, Zoran Rilak <zoran.ri...@gmail.com> wrote:
>
> > - If I save this customization and restart Emacs, I get a message
> > "Invalid face slant: roman". The face does not get applied.
> > - Also: sometimes my mode-line face will have its foreground reset
> > to #000000 after applying the new default face.
>
To fix, add:
{"roman", XLFD_SLANT_ROMAN, &Qnormal}
To the table for slants in xfaces.c. This may not be the _proper_
fix, but it does fix the issue and now my Emacs works again as it
should be working.
See https://bugs.edge.launchpad.net/ubuntu/+source/emacs-snapshot/+bug/197366
for the full diff on that file, both just for the source code and for
the Ubuntu package for Hardy Heron.