unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Zoran Rilak <zoran.rilak@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: "Invalid face slant: roman"
Date: Sat, 23 Feb 2008 21:54:35 -0800 (PST)	[thread overview]
Message-ID: <c26ecd7c-70c5-41f8-8a93-319b87962869@p73g2000hsd.googlegroups.com> (raw)

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


             reply	other threads:[~2008-02-24  5:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-24  5:54 Zoran Rilak [this message]
2008-03-01 17:42 ` "Invalid face slant: roman" mike
2008-03-02  0:37   ` mike
2008-04-17 20:02     ` Suno Ano
2008-04-18 11:30       ` Bruce Stephens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c26ecd7c-70c5-41f8-8a93-319b87962869@p73g2000hsd.googlegroups.com \
    --to=zoran.rilak@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).