unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1096: The Emacs 23 cann't display the cjk extb characters again.
@ 2008-10-06  2:25 hongyi.zhao
  0 siblings, 0 replies; 5+ messages in thread
From: hongyi.zhao @ 2008-10-06  2:25 UTC (permalink / raw)
  To: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 995 bytes --]

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@gmail.com> 
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences 
GnuPG DSA: 0xD108493
2008-10-5

[-- Attachment #2: uni20021.txt --]
[-- Type: TEXT/PLAIN, Size: 13 bytes --]

uni20021 𠀡

[-- Attachment #3: display_by_emeditor.png --]
[-- Type: IMAGE/PNG, Size: 1928 bytes --]

[-- Attachment #4: display_by_emacs.png --]
[-- Type: IMAGE/PNG, Size: 1180 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#1096: The Emacs 23 cann't display the cjk extb characters again.
@ 2008-12-10  0:12 Chong Yidong
  2008-12-10  6:11 ` Kenichi Handa
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2008-12-10  0:12 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: 1096

Hi Handa-san,

Could you take a look at this bug report?  Thanks.

hongyi.zhao@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")))






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#1096: The Emacs 23 cann't display the cjk extb characters again.
  2008-12-10  0:12 bug#1096: The Emacs 23 cann't display the cjk extb characters again Chong Yidong
@ 2008-12-10  6:11 ` Kenichi Handa
  2008-12-10  6:43   ` jasonr
  0 siblings, 1 reply; 5+ messages in thread
From: Kenichi Handa @ 2008-12-10  6:11 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 1096, hongyi.zhao

In article <87abb428hw.fsf@cyd.mit.edu>, Chong Yidong <cyd@stupidchicken.com> writes:

> Hi Handa-san,
> Could you take a look at this bug report?  Thanks.

> hongyi.zhao@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@m17n.org






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#1096: The Emacs 23 cann't display the cjk extb characters again.
  2008-12-10  6:11 ` Kenichi Handa
@ 2008-12-10  6:43   ` jasonr
  2008-12-10  7:44     ` Kenichi Handa
  0 siblings, 1 reply; 5+ messages in thread
From: jasonr @ 2008-12-10  6:43 UTC (permalink / raw)
  To: Kenichi Handa, 1096; +Cc: Chong Yidong, hongyi.zhao

Quoting Kenichi Handa <handa@m17n.org>:

> > hongyi.zhao@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.








^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#1096: The Emacs 23 cann't display the cjk extb characters again.
  2008-12-10  6:43   ` jasonr
@ 2008-12-10  7:44     ` Kenichi Handa
  0 siblings, 0 replies; 5+ messages in thread
From: Kenichi Handa @ 2008-12-10  7:44 UTC (permalink / raw)
  To: jasonr; +Cc: 1096, cyd, hongyi.zhao

In article <1228891412.493f651496a3e@webmail.freedom2surf.net>, jasonr@f2s.com writes:

> Quoting Kenichi Handa <handa@m17n.org>:
> > > hongyi.zhao@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@m17n.org






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-10  7:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10  0:12 bug#1096: The Emacs 23 cann't display the cjk extb characters again Chong Yidong
2008-12-10  6:11 ` Kenichi Handa
2008-12-10  6:43   ` jasonr
2008-12-10  7:44     ` Kenichi Handa
  -- strict thread matches above, loose matches on Subject: below --
2008-10-06  2:25 hongyi.zhao

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).