all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: jasonr@f2s.com
Cc: 1096@emacsbugs.donarmstrong.com, cyd@stupidchicken.com,
	hongyi.zhao@gmail.com
Subject: bug#1096: The Emacs 23 cann't display the cjk extb characters again.
Date: Wed, 10 Dec 2008 16:44:28 +0900	[thread overview]
Message-ID: <E1LAJkC-0001x8-Nx@etlken.m17n.org> (raw)
In-Reply-To: <1228891412.493f651496a3e@webmail.freedom2surf.net> (jasonr@f2s.com)

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






  reply	other threads:[~2008-12-10  7:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-10-06  2:25 hongyi.zhao

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=E1LAJkC-0001x8-Nx@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=1096@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=hongyi.zhao@gmail.com \
    --cc=jasonr@f2s.com \
    /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.