all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "Invalid face slant: roman"
@ 2008-02-24  5:54 Zoran Rilak
  2008-03-01 17:42 ` mike
  0 siblings, 1 reply; 5+ messages in thread
From: Zoran Rilak @ 2008-02-24  5:54 UTC (permalink / raw)
  To: bug-gnu-emacs

Hello,

I've just checked out the latest Emacs 23.0.60 from the CVS trunk (as
of 2008-02-23) and compiled it with fontconfig support (--enable-font-
backend).  When I try to use any of the fonts provided via fontconfig
to customize default face, here's what happens:

  - the font loads and Emacs redraws itself correctly.
  - when I do a customize-face default, I see that it longer parses
correctly in the custom-mode; instead of a list of checkboxes and
values, I get a "Lisp expression:" field.
  - :slant is set to "roman" regardless of its former value (before
changing :family).  This goes for every fontconfig family I've tried
so far.
  - 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.

This wasn't an issue with an earlier Emacs 23.0, also from CVS
(although that one I had to start with --enable-font-backend argument
to get the fc backend; apparently no longer needed).

  I found this in lisp/ChangeLog:

2008-02-01  Kenichi Handa  <handa@m17n.org>

        * faces.el (font-weight-table): Treat regular and normal as
the
        same as medium.
        (font-slant-table): Add (roman . 100).

Removing the (roman . 100) part from the font-slant-table does nothing
interesting.

I'm willing to tinker with the source code if someone has an idea what
I should look at first.

Thanks for your time,
Zoran


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-18 11:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-24  5:54 "Invalid face slant: roman" Zoran Rilak
2008-03-01 17:42 ` mike
2008-03-02  0:37   ` mike
2008-04-17 20:02     ` Suno Ano
2008-04-18 11:30       ` Bruce Stephens

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.