all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: William Xu <william.xwl@gmail.com>
To: 9621@debbugs.gnu.org
Subject: bug#9621: 24.0.90; a characger not displayed
Date: Wed, 28 Sep 2011 15:12:33 +0300	[thread overview]
Message-ID: <21glmxdouaq6.fsf@gmail.com> (raw)
In-Reply-To: <20110927.155802.49633926.Takaaki.Ota@am.sony.com>

Eli Zaretskii <eliz@gnu.org> writes:

   FWIW, this character is displayed correctly on my MS-Windows box.
   "C-u C-x =" says that it is displayed using the Uniscribe font driver
   and this font:

      uniscribe:-outline-Arial Unicode
      MS-normal-normal-normal-sans-15-*-*-*-p-*-jisx0208*-* (#x12D9)

I can reproduce it here, the same as Takaaki.  The font being used is: 
  -outline-BatangChe-normal-normal-normal-mono-13-*-*-*-c-*-jisx0208*-*

And BatangChe font doesn't cover unicode 30FC, that's why it can't
display it.  The font you are using -- Arial Unicode MS, covers most
unicode characters on windows, which is often used as a fallback font, i
guess.  Because it seems you don't have BatangChe font, yours uses Arial
Unicode MS directly...  Some locale differences, probably.  

To force it to use Arial Unicode MS, just: 
  (set-fontset-font t '(#x30fc . #x30fd) "Arial Unicode MS")

The real problem is that when the selected font(like BatangChe here)
doesn't contain all the glyphs for the unicode range it covers, emacs
doesn't select a fallback font, like Arial Unicode MS here.  

Only if one day the following code could be implemented?..  

int
w32font_has_char (Lisp_Object entity, int c)
{
  /* We can't be certain about which characters a font will support until
     we open it.  Checking the scripts that the font supports turns out
     to not be reliable.  */
  return -1;

-- 
William

http://xwl.appspot.com






  reply	other threads:[~2011-09-28 12:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27 22:58 bug#9621: 24.0.90; a characger not displayed Ota, Takaaki
     [not found] ` <handler.9621.B.131716622525917.ack@debbugs.gnu.org>
2011-09-27 23:37   ` bug#9621: Acknowledgement (24.0.90; a characger not displayed) Ota, Takaaki
2011-09-28  0:45 ` bug#9621: 24.0.90; a characger not displayed Kenichi Handa
2011-09-28  0:53   ` Ota, Takaaki
2011-09-28  7:31 ` Eli Zaretskii
2011-09-28 12:12   ` William Xu [this message]
2011-09-29  2:01     ` Kenichi Handa
2011-09-29  6:36       ` William Xu
2011-09-29  8:30         ` William Xu
2011-09-29 11:37       ` William Xu
2011-09-29 14:09       ` Jason Rumney
2011-10-31 23:06   ` Ota, Takaaki
2011-11-01 23:06     ` Jason Rumney
2011-11-01 23:11       ` Ota, Takaaki
2011-11-02 14:06         ` Jason Rumney
2011-11-07  4:06           ` Ota, Takaaki
2011-11-02 13:47       ` Jason Rumney
2011-11-05 18:57     ` Jason Rumney

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=21glmxdouaq6.fsf@gmail.com \
    --to=william.xwl@gmail.com \
    --cc=9621@debbugs.gnu.org \
    /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.