unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Eduardo Ochs <eduardoochs@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: `set-frame-font' doesn't support font aliases
Date: Tue, 03 Jun 2008 15:44:27 +0900	[thread overview]
Message-ID: <E1K3QFv-0003eC-SW@etlken.m17n.org> (raw)
In-Reply-To: <87fxrxpw0z.fsf@dekooning.omnisys.int.com.br> (message from Eduardo Ochs on Sun, 01 Jun 2008 01:24:44 -0400)

In article <87fxrxpw0z.fsf@dekooning.omnisys.int.com.br>, Eduardo Ochs <eduardoochs@gmail.com> writes:

> The current code for `set-frame-font' doesn't support font
> aliases - for example, these sexps don't work:

>   (set-frame-font "5x7")    ;; error: "Font `5x7' is not defined"
>   (set-frame-font "fixed")  ;; uses some unexpected font

I've just installed a fix to check also an alias name in X
font-backend.  But, as Emacs accepts a fontconfig-style font
name too, for instance, "fixed" is parsed as a font of
family "fixed" which may match with many fonts.

Is keeping backward compatibility of (set-frame-font
"fixed") important enough to drop the support of
fontconfig-style name?

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






  reply	other threads:[~2008-06-03  6:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-01  5:24 `set-frame-font' doesn't support font aliases Eduardo Ochs
2008-06-03  6:44 ` Kenichi Handa [this message]
2008-06-03  7:29   ` Stefan Monnier
2008-06-03  7:44     ` Kenichi Handa
2008-06-03  8:22       ` Stefan Monnier
2008-06-04 11:49         ` Kenichi Handa
2008-06-04 17:15           ` Stefan Monnier

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=E1K3QFv-0003eC-SW@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=eduardoochs@gmail.com \
    --cc=emacs-devel@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).