GNU bug report logs -
#1096
The Emacs 23 cann't display the cjk extb characters again.
Previous Next
Reported by: hongyi.zhao <at> gmail.com
Date: Mon, 6 Oct 2008 02:35:02 UTC
Severity: normal
Done: Jason Rumney <jasonr <at> f2s.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1096 in the body.
You can then email your comments to 1096 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1096
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
hongyi.zhao <at> gmail.com
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
[Message part 1 (text/plain, inline)]
Dear all,
Now, I updated the Emacs 23 to 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-03 on LENNART-69DE564, then I find that I cann't see the correct cjk extb characters displayed by this version. For example, the Chinese character uni20021, a character of cjk extb, which can be displayed correctly by using the previous versions by LENNART, cann't be displayed correctly now. In addition, I can display that character on my box with emeditor, denoting that I've the corresponding fonts installed correctly. Finally, I've use the following settings in my _emacas file which is suggested by Kenichi Handa:
--------------
(if (display-graphic-p)
(set-fontset-font
(frame-parameter nil 'font)
'(#x20000 . #x2fa1d)
'("*-Sun-ExtB" . "unicode-sip")))
--------------
Please find the snapshot of this issue in the attachments.
Regards,
--
Hongyi Zhao <hongyi.zhao <at> gmail.com>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
2008-10-5
[uni20021.txt (text/plain, attachment)]
[display_by_emeditor.png (image/png, attachment)]
[display_by_emacs.png (image/png, attachment)]
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1096
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #10 received at 1096 <at> emacsbugs.donarmstrong.com (full text, mbox):
Hi Handa-san,
Could you take a look at this bug report? Thanks.
hongyi.zhao <at> gmail.com wrote:
> I cnn't see the correct cjk extb characters displayed by this version.
> For example, the Chinese character uni20021, a character of cjk extb,
> which can be displayed correctly by using the previous versions,
> cann't be displayed correctly now. In addition, I can display that
> character on my box with emeditor, denoting that I've the
> corresponding fonts installed correctly. Finally, I've use the
> following settings in my _emacas file which is suggested by Kenichi
> Handa:
>
> (if (display-graphic-p)
> (set-fontset-font
> (frame-parameter nil 'font)
> '(#x20000 . #x2fa1d)
> '("*-Sun-ExtB" . "unicode-sip")))
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1096
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Kenichi Handa <handa <at> m17n.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #15 received at 1096 <at> emacsbugs.donarmstrong.com (full text, mbox):
In article <87abb428hw.fsf <at> cyd.mit.edu>, Chong Yidong <cyd <at> stupidchicken.com> writes:
> Hi Handa-san,
> Could you take a look at this bug report? Thanks.
> hongyi.zhao <at> gmail.com wrote:
> > I cnn't see the correct cjk extb characters displayed by this version.
> > For example, the Chinese character uni20021, a character of cjk extb,
> > which can be displayed correctly by using the previous versions,
> > cann't be displayed correctly now. In addition, I can display that
> > character on my box with emeditor, denoting that I've the
> > corresponding fonts installed correctly. Finally, I've use the
> > following settings in my _emacas file which is suggested by Kenichi
> > Handa:
> >
> > (if (display-graphic-p)
> > (set-fontset-font
> > (frame-parameter nil 'font)
> > '(#x20000 . #x2fa1d)
> > '("*-Sun-ExtB" . "unicode-sip")))
I've just installed a fix. At least with Xft font backend,
Emacs should be able to find a proper font for the Unicode
SIP area (#x20000..#x2FFFF) now.
---
Kenichi Handa
handa <at> m17n.org
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1096
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
jasonr <at> f2s.com
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #20 received at 1096 <at> emacsbugs.donarmstrong.com (full text, mbox):
Quoting Kenichi Handa <handa <at> m17n.org>:
> > hongyi.zhao <at> gmail.com wrote:
> > > (if (display-graphic-p)
> > > (set-fontset-font
> > > (frame-parameter nil 'font)
> > > '(#x20000 . #x2fa1d)
> > > '("*-Sun-ExtB" . "unicode-sip")))
>
> I've just installed a fix. At least with Xft font backend,
> Emacs should be able to find a proper font for the Unicode
> SIP area (#x20000..#x2FFFF) now.
At least part of the problem here is that the font name contains a -, which is
not compatible with the use of xlfd as the internal representation of fonts.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1096
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Kenichi Handa <handa <at> m17n.org>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #25 received at 1096 <at> emacsbugs.donarmstrong.com (full text, mbox):
In article <1228891412.493f651496a3e <at> webmail.freedom2surf.net>, jasonr <at> f2s.com writes:
> Quoting Kenichi Handa <handa <at> m17n.org>:
> > > hongyi.zhao <at> gmail.com wrote:
> > > > (if (display-graphic-p)
> > > > (set-fontset-font
> > > > (frame-parameter nil 'font)
> > > > '(#x20000 . #x2fa1d)
> > > > '("*-Sun-ExtB" . "unicode-sip")))
> >
> > I've just installed a fix. At least with Xft font backend,
> > Emacs should be able to find a proper font for the Unicode
> > SIP area (#x20000..#x2FFFF) now.
> At least part of the problem here is that the font name contains a -, which is
> not compatible with the use of xlfd as the internal representation of fonts.
That is why I suggested as above; i.e. prepend "*-" to the
family name so that the parser knows that foundry is nil and
the remaining part is a family name.
By the way, the above notation is kept for backward
compatibility (and also for handy way). The cleaner code
is:
(set-fontset-font
(frame-parameter nil 'font)
'(#x20000 . #x2fa1d)
(font-spec :family "*-Sun-ExtB" :registry "unicode-sip"))
because we are now using font-{spec|entity|object} as the
internal representation of fonts.
---
Kenichi Handa
handa <at> m17n.org
Reply sent to
Chong Yidong <cyd <at> stupidchicken.com>
:
You have taken responsibility.
Full text and
rfc822 format available.
Notification sent to
hongyi.zhao <at> gmail.com
:
bug acknowledged by developer.
Full text and
rfc822 format available.
Message #30 received at 1096-done <at> emacsbugs.donarmstrong.com (full text, mbox):
Kenichi Handa <handa <at> m17n.org> writes:
> I've just installed a fix. At least with Xft font backend,
> Emacs should be able to find a proper font for the Unicode
> SIP area (#x20000..#x2FFFF) now.
Thank you.
bug reopened, originator not changed.
Request was from
jasonr <at> f2s.com
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 11 Dec 2008 06:30:03 GMT)
Full text and
rfc822 format available.
bug reassigned from package `emacs' to `emacs,w32'.
Request was from
jasonr <at> f2s.com
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 11 Dec 2008 06:30:03 GMT)
Full text and
rfc822 format available.
Reply sent to
Jason Rumney <jasonr <at> f2s.com>
:
You have taken responsibility.
Full text and
rfc822 format available.
Notification sent to
hongyi.zhao <at> gmail.com
:
bug acknowledged by developer.
Full text and
rfc822 format available.
Message #39 received at 1096-done <at> emacsbugs.donarmstrong.com (full text, mbox):
Kenichi Handa wrote:
> I've just installed a fix. At least with Xft font backend,
> Emacs should be able to find a proper font for the Unicode
> SIP area (#x20000..#x2FFFF) now.
>
In addition to that change, which should help with displaying those
characters by default, it turns out there is a bug in the Windows
function that we use to encode characters into glyph points when passed
a surrogate pair. I've worked around it by using an oversized glyph buffer.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Thu, 08 Jan 2009 15:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 224 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.