* Problem with `create-fontset-from-fontset-spec'
@ 2006-07-09 9:36 Sun Yijiang
2006-07-10 0:44 ` Kenichi Handa
0 siblings, 1 reply; 5+ messages in thread
From: Sun Yijiang @ 2006-07-09 9:36 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 496 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 561 bytes --]
[-- Attachment #2: fontset-2005.05.20.png --]
[-- Type: image/png, Size: 42319 bytes --]
[-- Attachment #3: fontset-2006.07.08.png --]
[-- Type: image/png, Size: 47003 bytes --]
[-- Attachment #4: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with `create-fontset-from-fontset-spec'
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
0 siblings, 1 reply; 5+ messages in thread
From: Kenichi Handa @ 2006-07-10 0:44 UTC (permalink / raw)
Cc: emacs-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with `create-fontset-from-fontset-spec'
2006-07-10 0:44 ` Kenichi Handa
@ 2006-07-10 9:21 ` Sun Yijiang
2006-07-11 12:39 ` Kenichi Handa
0 siblings, 1 reply; 5+ messages in thread
From: Sun Yijiang @ 2006-07-10 9:21 UTC (permalink / raw)
Cc: emacs-devel
[-- 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with `create-fontset-from-fontset-spec'
2006-07-10 9:21 ` Sun Yijiang
@ 2006-07-11 12:39 ` Kenichi Handa
2006-07-12 6:39 ` Sun Yijiang
0 siblings, 1 reply; 5+ messages in thread
From: Kenichi Handa @ 2006-07-11 12:39 UTC (permalink / raw)
Cc: emacs-devel
In article <5065e2900607100221q4ba80082v2600f24750fbcfc1@mail.gmail.com>, "Sun Yijiang" <sunyijiang@gmail.com> writes:
> [1 <text/plain; ISO-8859-1 (7bit)>]
> 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
[...]
> <---- From CVS 2006.06.08 ---->
> Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
Hmmm... fontset-gbk is not selected for your frame in the
latest version. How did you specify fontset-gbk as frame's
fontset? What is the result of M-x list-fontsets RET? Do
you see fontset-gbk in the list? If so, can you select it
by Shift-mouse-1 -> fontset -> gbk?
---
Kenichi Handa
handa@m17n.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem with `create-fontset-from-fontset-spec'
2006-07-11 12:39 ` Kenichi Handa
@ 2006-07-12 6:39 ` Sun Yijiang
0 siblings, 0 replies; 5+ messages in thread
From: Sun Yijiang @ 2006-07-12 6:39 UTC (permalink / raw)
Cc: emacs-devel
[-- Attachment #1.1: Type: text/plain, Size: 966 bytes --]
Yes, I've noticed that. I have selected fontset-gbk in my .emacs:
(add-to-list 'default-frame-alist '(font . "fontset-gbk"))
I also tried to select it by Shift-mouse-1 -> fontset -> gbk. But the
result is the same, M-x describe-fontset RET RET still shows:
Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
With previous CVS version, everything is OK.
M-x list-fontset RET gives the same result in both versions:
Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
Fontset: -*-andale mono-medium-r-*-*-15-*-*-*-m-*-fontset-gbk
Fontset: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard
2006/7/11, Kenichi Handa <handa@m17n.org>:
> Hmmm... fontset-gbk is not selected for your frame in the
> latest version. How did you specify fontset-gbk as frame's
> fontset? What is the result of M-x list-fontsets RET? Do
> you see fontset-gbk in the list? If so, can you select it
> by Shift-mouse-1 -> fontset -> gbk?
>
> ---
> Kenichi Handa
> handa@m17n.org
>
[-- Attachment #1.2: Type: text/html, Size: 1407 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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-07-12 6:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-07-11 12:39 ` Kenichi Handa
2006-07-12 6:39 ` Sun Yijiang
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).