[Top][All Lists]

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

Re: Xresource of enable-font-backend?

From: Kenichi Handa
Subject: Re: Xresource of enable-font-backend?
Date: Thu, 05 Oct 2006 11:21:35 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Leo <address@hidden> writes:

> On Thu, 05/10/06 02:29 +0100, Kenichi Handa wrote:
> > In article <address@hidden>, Leo <address@hidden> writes:
> >
>>> 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.
> >
> > Strange.  Please show me the result of:
> >
> > % fc-list :lang=zh family file

> /opt/share/fonts/msfonts/simsun.ttf: NSimSun,新宋体
> /opt/share/fonts/msfonts/simsun.ttf: SimSun,宋体
> /opt/share/fonts/msfonts/mingliu.ttf: PMingLiU,新細明體
> /opt/share/fonts/msfonts/mingliu.ttf: MingLiU,細明體
> /opt/share/fonts/macfonts/sthei.ttf: STHeiti

Hmmm, so it seems that not bdf nor pcf files are registered
for fontconfig... strange.

Could you please try this?

(set-fontset-font (frame-parameter nil 'font)
  'han '("NSimSun" . "unicode-bmp"))

Does it change Emacs to use NSimSun for Chinese?

Kenichi Handa

reply via email to

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