emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `set-frame-font' doesn't support font aliases


From: Kenichi Handa
Subject: Re: `set-frame-font' doesn't support font aliases
Date: Tue, 03 Jun 2008 15:44:27 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Eduardo Ochs <address@hidden> 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
address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]