unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Taylor Venable <taylor@metasyntax.net>
Cc: emacs-devel@gnu.org
Subject: Re: No XFT in CVS from this morning
Date: Wed, 18 Jun 2008 20:06:23 +0900	[thread overview]
Message-ID: <E1K8vUd-0002un-6Q@etlken.m17n.org> (raw)
In-Reply-To: <20080618064209.5bee6ca7.taylor@metasyntax.net> (message from Taylor Venable on Wed, 18 Jun 2008 06:42:09 -0400)

In article <20080618064209.5bee6ca7.taylor@metasyntax.net>, Taylor Venable <taylor@metasyntax.net> writes:

> On Wed, 18 Jun 2008 12:52:10 +0900
> Kenichi Handa <handa@m17n.org> wrote:

> > In article <20080617224331.57adb1e2.taylor@metasyntax.net>, Taylor
> > Venable <taylor@metasyntax.net> writes:
> > 
> > > > % emacs --xrm 'Emacs*FontBackend: xft x'
> > 
> > > I get: "No font backend available" both with and without "-Q".
> > 
> > Oops, sorry, this is the correct form:
> > 
> > % emacs --xrm 'Emacs*FontBackend: xft,x'

> Great!  That fixes it.  I guess perhaps the equivalent Lisp code when
> put into the .emacs file doesn't get read early enough to take effect
> on the first frame?

It seems so.

> > xfont-list: -*-DejaVu Sans Mono-*-*-*-*-*-*-*-*-*-*-iso8859-1
> >   -misc-dejavu sans mono-medium-r-normal--12-*-75-75-m-*-iso8859-1
[...]
> > ftfont-list: -*-DejaVu Sans Mono-*-iso8859-1
> >   -unknown-DejaVu Sans Mono-bold-normal-normal-*-m-0-iso8859-1

Hmmm, when Emacs starts, it uses X font which has "misc"
foundary, and Emacs remembers that.  Later, when the
font-backend order is changed, Emacs still prefer a font of
"misc" foundary.  And, unfortunately, fontconfig returns
that same font with "unknown" foundary.

It seems that we must remember somehow which font properties
are actually specified, and which are just extracted from
the selected font.

---
Kenichi Handa
handa@ni.aist.go.jp




      reply	other threads:[~2008-06-18 11:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-17 15:21 No XFT in CVS from this morning Taylor Venable
2008-06-17 16:03 ` Chong Yidong
2008-06-17 16:48   ` Taylor Venable
2008-06-17 17:08     ` Chong Yidong
2008-06-17 18:44       ` Taylor Venable
2008-06-17 20:19         ` Taylor Venable
2008-06-17 17:39 ` Stefan Monnier
2008-06-17 18:44   ` Taylor Venable
2008-06-18  0:41 ` Kenichi Handa
2008-06-18  1:41   ` Taylor Venable
2008-06-18  2:08     ` Kenichi Handa
2008-06-18  2:43       ` Taylor Venable
2008-06-18  3:52         ` Kenichi Handa
2008-06-18 10:42           ` Taylor Venable
2008-06-18 11:06             ` Kenichi Handa [this message]

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=E1K8vUd-0002un-6Q@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=taylor@metasyntax.net \
    /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).