all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: anhnmncb <anhnmncb@sina.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs 23 can not display some characters
Date: Sun, 26 Aug 2007 08:02:28 +0800	[thread overview]
Message-ID: <87d4xb88ob.fsf@gentoo.hasee> (raw)
In-Reply-To: 87mywhml7o.fsf@gmail.com


[-- Attachment #1.1: Type: text/plain, Size: 3046 bytes --]

yes, I have some problem similar with you:

-------
        character: ǒ (466, #o722, #x1d2)
preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58)
       code point: 0x282F
           syntax: w 	which means: word
         category: c:Chinese j:Japanese l:Latin
      buffer code: #xC7 #x92
        file code: #xC7 #x92 (encoded by coding system utf-8-emacs)
          display: by this font (glyph code)
     -microsoft-microsoft yahei-medium-r-normal--14-135-75-75-p-138-gb2312.1980-0 (#x282F)

Character code properties are not shown: customize what to show

There are text properties here:
  auto-composed        t
  fontified            t
  rear-nonsticky       t

---------
        character: 基 (22522, #o53772, #x57fa)
preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58)
       code point: 0x3B79
           syntax: w 	which means: word
         category: C:Chinese (Han) characters of 2-byte character sets c:Chinese h:Korean j:Japanese
		   |:While filling, we can break a line at this character.
      buffer code: #xE5 #x9F #xBA
        file code: #xE5 #x9F #xBA (encoded by coding system utf-8-emacs)
          display: by this font (glyph code)
     microsoft yahei:pixelsize=14:foundry=microsoft:weight=medium:slant=r:width=normal (#x5C2)

Character code properties are not shown: customize what to show

There are text properties here:
  auto-composed        t
  fontified            t
  rear-nonsticky       t

----------
        character: 基 (22522, #o53772, #x57fa)
preferred charset: chinese-gb2312 (GB2312 Chinese simplified: ISO-IR-58)
       code point: 0x3B79
           syntax: w 	which means: word
         category: C:Chinese (Han) characters of 2-byte character sets c:Chinese h:Korean j:Japanese
		   |:While filling, we can break a line at this character.
      buffer code: #xE5 #x9F #xBA
        file code: #xE5 #x9F #xBA (encoded by coding system utf-8-emacs)
          display: by this font (glyph code)
     microsoft yahei:pixelsize=14:foundry=microsoft:weight=medium:slant=r:width=normal (#x5C2)

Character code properties are not shown: customize what to show

There are text properties here:
  auto-composed        t
  fontified            t
  rear-nonsticky       t
-------------

As you see, the same charset gb2312, emacs uses different fonts. First
one use a traditional x font, but others use xft font.
What I want is all fonts emacs uses are xft fonts, I don't know how to
do that though...

The following is my font setting:

  (set-default-font "consolas-12")
  (set-fontset-font (frame-parameter nil 'font)
		    'han '("Microsoft YaHei" . "unicode-bmp"))
  (set-fontset-font (frame-parameter nil 'font)
		    'cjk-misc '("Microsoft YaHei" . "unicode-bmp"))
  (set-fontset-font "fontset-default"
		    'kana '("Meiryo" . "unicode-bmp"))

  (setq default-frame-alist
	(append
	 '((font . "consolas-12"))
	 default-frame-alist))

-- 
Regards,

  anhnmncb
 gpg key: 44A31344

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

      reply	other threads:[~2007-08-26  0:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-24  7:43 Emacs 23 can not display some characters Zhan
2007-08-26  0:02 ` anhnmncb [this message]

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=87d4xb88ob.fsf@gentoo.hasee \
    --to=anhnmncb@sina.com \
    --cc=help-gnu-emacs@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.