all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sun Yijiang" <sunyijiang@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Problem with `create-fontset-from-fontset-spec'
Date: Mon, 10 Jul 2006 17:21:53 +0800	[thread overview]
Message-ID: <5065e2900607100221q4ba80082v2600f24750fbcfc1@mail.gmail.com> (raw)
In-Reply-To: <E1Fzjsm-0007Xl-00@etlken>


[-- Attachment #1.1: Type: text/plain, Size: 6454 bytes --]

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
>

[-- Attachment #1.2: Type: text/html, Size: 11259 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2006-07-10  9:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-09  9:36 Problem with `create-fontset-from-fontset-spec' Sun Yijiang
2006-07-10  0:44 ` Kenichi Handa
2006-07-10  9:21   ` Sun Yijiang [this message]
2006-07-11 12:39     ` Kenichi Handa
2006-07-12  6:39       ` Sun Yijiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5065e2900607100221q4ba80082v2600f24750fbcfc1@mail.gmail.com \
    --to=sunyijiang@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.