[Top][All Lists]

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

Re: Xresource of enable-font-backend?

From: Leo
Subject: Re: Xresource of enable-font-backend?
Date: Wed, 04 Oct 2006 15:45:20 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

On Fri, 29/09/06 13:27 +0100, Kenichi Handa wrote:

> In article <address@hidden>, Leo <address@hidden> writes:
>> There are some interesting discussions in XftGnuEmacs in
>> emacswiki.org. Hope the developers can consider this.
>> ----
>>  Sept. 23, 2006: Is there an Xresource that is equivalent to the
>>  command-line option ‘--enable-font-backend’ so that I don’t have to
>>  type this every time I start Emacs?
>> - Doesn’t seem to be. But it’s a trivial patch to src/emacs.c to flip
>>   the command line arg to on-by-default, just reverse the sense of the
>>   variable. I’m not entirely clear why one would compile in Xft
>>   support and not use it at this stage (and on my system at least, the
>>   unicode-2 branch doesn’t even display particularly sensibly unless
>>   you turn it on…), so IMHO it would be nice (tm) if it was on by
>>   default upstream.
> I didn't know about that wiki site.  If you find a question
> that can't be answered easily, could you please forward it
> to here?  I think I don't have a time to check that wiki
> site that frequently.

No problem.

> Anyway, the `--enable-font-backend' option will disappear as
> soon as we can get rid of legacy font-handling codes.
> Unfortunately, for Windows and Mac port, we still need them.
> By the way, I've just added this note in README.Unicode.
> ----------------------------------------------------------------------
> Which font backends to use can be specified by X resource
> "FontBackend".  For instance, if you want to use Xft fonts only,
> Emacs.FontBackend: xft
> will work.  If this resource is not set, Emacs tries to use all font
> backends available on your graphic device.
> ----------------------------------------------------------------------
> Even if you set it, --enable-font-backend is still necessary
> because Emacs calls font-related functions before it checks
> above resource.

This is very helpful. However even with "Emacs.FontBackend: xft" and
--enable-font-backend, CJK will use xfld font other than xft font if
both fonts are available.

> ---
> Kenichi Handa
> address@hidden


reply via email to

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