From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sun Yijiang" Newsgroups: gmane.emacs.devel Subject: Re: Problem with `create-fontset-from-fontset-spec' Date: Mon, 10 Jul 2006 17:21:53 +0800 Message-ID: <5065e2900607100221q4ba80082v2600f24750fbcfc1@mail.gmail.com> References: <5065e2900607090236s1f503dc7gf76423ccab13c479@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1411240251==" X-Trace: sea.gmane.org 1152523395 9915 80.91.229.2 (10 Jul 2006 09:23:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Jul 2006 09:23:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 10 11:23:09 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fzrxz-0002nF-Lh for ged-emacs-devel@m.gmane.org; Mon, 10 Jul 2006 11:22:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fzrxy-0000Jc-VN for ged-emacs-devel@m.gmane.org; Mon, 10 Jul 2006 05:22:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fzrxk-0000JW-Mo for emacs-devel@gnu.org; Mon, 10 Jul 2006 05:21:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fzrxj-0000JK-PQ for emacs-devel@gnu.org; Mon, 10 Jul 2006 05:21:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fzrxj-0000J9-I5 for emacs-devel@gnu.org; Mon, 10 Jul 2006 05:21:55 -0400 Original-Received: from [64.233.182.189] (helo=nf-out-0910.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fzrym-0000e7-GK for emacs-devel@gnu.org; Mon, 10 Jul 2006 05:23:01 -0400 Original-Received: by nf-out-0910.google.com with SMTP id q29so354348nfc for ; Mon, 10 Jul 2006 02:21:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ZtObn3KWdjaqXkLwe5f/9QYP778l+lemB3YE7+BB2hL1/s8AR0sonkFnf3zSS/+mI0RmU8SM48Kq+Hr2xcqSDrFfa2RlhfAgSpLaT5pm9AtNxF6590Cc2O11T22dgHq4ELUf6cNdPKGhHvO9gtuYt64DzsYziFH30dJGXv/06tw= Original-Received: by 10.48.161.11 with SMTP id j11mr3540959nfe; Mon, 10 Jul 2006 02:21:53 -0700 (PDT) Original-Received: by 10.49.70.6 with HTTP; Mon, 10 Jul 2006 02:21:53 -0700 (PDT) Original-To: "Kenichi Handa" In-Reply-To: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56876 Archived-At: --===============1411240251== Content-Type: multipart/alternative; boundary="----=_Part_8289_20061996.1152523313774" ------=_Part_8289_20061996.1152523313774 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 : > > In article <5065e2900607090236s1f503dc7gf76423ccab13c479@mail.gmail.com>, > "Sun Yijiang" writes: > > > [1 ] > > [1.1 ] > > 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 > handa@m17n.org > ------=_Part_8289_20061996.1152523313774 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 <handa@m17n.org >:
In article < 5065e2900607090236s1f503dc7gf76423ccab13c479@mail.gmail.com>, "Sun Yijiang" <sunyijiang@gmail.com> 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
handa@m17n.org

------=_Part_8289_20061996.1152523313774-- --===============1411240251== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============1411240251==--