bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1096: The Emacs 23 cann't display the cjk extb characters again.


From: Kenichi Handa
Subject: bug#1096: The Emacs 23 cann't display the cjk extb characters again.
Date: Wed, 10 Dec 2008 16:44:28 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, address@hidden writes:

> Quoting Kenichi Handa <address@hidden>:
> > > address@hidden 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
address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]