emacs-devel
[Top][All Lists]
Advanced

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

Re: Problem with `create-fontset-from-fontset-spec'


From: Sun Yijiang
Subject: Re: Problem with `create-fontset-from-fontset-spec'
Date: Mon, 10 Jul 2006 17:21:53 +0800

Font conf code:
(create-fontset-from-fontset-spec
 (concat "-*-andale mono-medium-r-*-*-15-*-*-*-m-*-fontset-gbk,"
     "chinese-gb2312:    -*-simsun-medium-r-*-*-18-*-*-*-c-*-gb2312*-*,"
     "chinese-cns11643-5:-*-simsun-medium-r-*-*-18-*-*-*-c-*-gbk-*,"
     "chinese-cns11643-6:-*-simsun-medium-r-*-*-18-*-*-*-c-*-gbk-*,"
     "chinese-cns11643-7:-*-simsun-medium-r-*-*-18-*-*-*-c-*-gbk-*") t)

M-x describe-fontset RET RET (some non-ascii lines are deleted):
<---- From CVS 2005.05.20 ---->
Fontset: -*-andale mono-medium-r-*-*-15-*-*-*-m-*-fontset-gbk
CHARSET or CHAR RANGE   FONT NAME
---------------------   ---------
ascii                   -monotype-andale mono-medium-r-normal--15-145-75-75-m-90-iso8859-1
     [-monotype-andale mono-medium-r-normal--15-167-65-65-m-90-iso8859-1]
latin-iso8859-1         -monotype-andale mono-*-iso8859-1
latin-iso8859-2         -*-iso8859-2
latin-iso8859-3         -*-iso8859-3
latin-iso8859-4         -*-iso8859-4
thai-tis620             -*-*-*-tis620-*
greek-iso8859-7         -*-iso8859-7
arabic-iso8859-6        -*-iso8859-6
hebrew-iso8859-8        -*-iso8859-8
katakana-jisx0201       -*-jisx0201-*
latin-jisx0201          -*-jisx0201-*
cyrillic-iso8859-5      -*-iso8859-5
latin-iso8859-9         -*-iso8859-9
latin-iso8859-15        -*-iso8859-15
latin-iso8859-14        -*-iso8859-14
japanese-jisx0208-1978  -*- jisx0208.1978-*
chinese-gb2312          -*-simsun-medium-r-*-*-18-*-*-*-c-*-gb2312*-*
     [-misc-simsun-medium-r-normal--18-173-75-75-c-180-gb2312.1980-0]
japanese-jisx0208       -*-jisx0208.1990-*
korean-ksc5601          -*- ksc5601.1989-*
japanese-jisx0212       -*-jisx0212-*
chinese-cns11643-1      -*-cns11643.1992-1
chinese-cns11643-2      -*-cns11643.1992-2
japanese-jisx0213-1     -*-jisx0213.2000-1
chinese-big5-1          -*-big5-*
chinese-big5-2          -*-big5-*
chinese-sisheng         -*-sisheng_cwnn-*
ipa                     -*-muleipa-*
vietnamese-viscii-lower -*-viscii1.1-*
vietnamese-viscii-upper -*-viscii1.1-*
arabic-digit            -*-mulearabic-0
arabic-1-column         -*-mulearabic-1
ascii-right-to-left     -*-iso8859-1
lao                     -*-mulelao-1
arabic-2-column         -*-mulearabic-2
indian-is13194          -*-is13194-devanagari
tibetan-1-column        -*-muletibetan-1
mule-unicode-2500-33ff  -*-iso10646-1
mule-unicode-e000-ffff  -*-iso10646-1
ethiopic                -*-ethiopic-unicode
chinese-cns11643-3      -*-cns11643.1992-3
chinese-cns11643-4      -*-cns11643.1992-4
chinese-cns11643-5      -*-simsun-medium-r-*-*-18-*-*-*-c-*-gbk-*
chinese-cns11643-6      -*-simsun-medium-r-*-*-18-*-*-*-c-*-gbk-*
chinese-cns11643-7      -*-simsun-medium-r-*-*-18-*-*-*-c-*-gbk-*
indian-2-column         -*-muleindian-2
tibetan                 -*-proportional-*-muletibetan-2
japanese-jisx0213-2     -*-jisx0213.2000-2

<---- From CVS 2006.06.08 ---->
Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
CHARSET or CHAR RANGE   FONT NAME
---------------------   ---------
ascii                   -Adobe-Courier-Medium-R-Normal--12-120-75-75-M-70-ISO8859-1
     [-monotype-andale mono-medium-r-normal--15-167-65-65-m-90-iso8859-1]
latin-iso8859-1         -*-iso8859-1
latin-iso8859-2         -*-iso8859-2
latin-iso8859-3         -*-iso8859-3
latin-iso8859-4         -*-iso8859-4
thai-tis620             -*-*-*-tis620-*
greek-iso8859-7         -*-iso8859-7
arabic-iso8859-6        -*-iso8859-6
hebrew-iso8859-8        -*-iso8859-8
katakana-jisx0201       -*-jisx0201-*
latin-jisx0201          -*-jisx0201-*
cyrillic-iso8859-5      -*-iso8859-5
latin-iso8859-9         -*-iso8859-9
latin-iso8859-15        -*-iso8859-15
latin-iso8859-14        -*-iso8859-14
japanese-jisx0208-1978  -*-jisx0208.1978-*
chinese-gb2312          -*-gb2312.1980-*
     [-ISAS-Fangsong ti-Medium-R-Normal--16-160-72-72-c-160-GB2312.1980-0]
japanese-jisx0208       -*- jisx0208.1990-*
korean-ksc5601          -*-ksc5601.1989-*
japanese-jisx0212       -*-jisx0212-*
chinese-cns11643-1      -*-cns11643.1992-1
chinese-cns11643-2      -*-cns11643.1992-2
japanese-jisx0213-1     -*- jisx0213.2000-1
chinese-big5-1          -*-big5-*
chinese-big5-2          -*-big5-*
chinese-sisheng         -*-sisheng_cwnn-*
ipa                     -*-muleipa-*
vietnamese-viscii-lower -*-viscii1.1-*
vietnamese-viscii-upper -*- viscii1.1-*
arabic-digit            -*-mulearabic-0
arabic-1-column         -*-mulearabic-1
ascii-right-to-left     -*-iso8859-1
lao                     -*-mulelao-1
arabic-2-column         -*-mulearabic-2
indian-is13194          -*-is13194-devanagari
tibetan-1-column        -*-muletibetan-1
mule-unicode-2500-33ff  -*-iso10646-1
mule-unicode-e000-ffff  -*-iso10646-1
ethiopic                -*-ethiopic-unicode
chinese-cns11643-3      -*-cns11643.1992-3
chinese-cns11643-4      -*-cns11643.1992-4
chinese-cns11643-5      -*-cns11643.1992-5
chinese-cns11643-6      -*-cns11643.1992-6
chinese-cns11643-7      -*-cns11643.1992-7
indian-2-column         -*-muleindian-2
tibetan                 -*-proportional-*-muletibetan-2
japanese-jisx0213-2     -*-jisx0213.2000-2

% xlsfonts -fn -*-gb2312.1980-0
-isas-fangsong ti-medium-r-normal--0-0-72-72-c-0-gb2312.1980-0
-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0
-isas-song ti-medium-r-normal--0-0-72-72-c-0-gb2312.1980-0
-isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0
-isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0
-misc-nsimsun-medium-r-normal--0-0-0-0-m-0-gb2312.1980-0
-misc-simsun-medium-r-normal--0-0-0-0-c-0-gb2312.1980-0

2006/7/10, Kenichi Handa <address@hidden >:
In article < address@hidden>, "Sun Yijiang" <address@hidden> writes:

> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; ISO-8859-1 (7bit)>]
> I made a CVS update & build this morning to the current devel branch (
> 22.0.50.1).  The behavior of `create-fontset-from-fontset-spec' seems
> change.  Emacs no longer use assigned fonts for each charset.  I made 2
> screenshots to describe the problem.  The first one is from CVS version 2005
> May 20, in which Emacs uses exactly the font I assiged to chinese charset.
> The second one is CVS version 2006 Jul 8, in which Emacs does not use the
> font I assigned to chinese charset but picks one itself.

Please show me the output of M-x describe-fontset RET RET
and the output of the shell command:
% xlsfonts -fn -*-gb2312.1980-0

---
Kenichi Handa
address@hidden


reply via email to

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