emacs-devel
[Top][All Lists]
Advanced

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

Chinese punctuation symbol can't be displayed on windows 2000.


From: anhnmncb
Subject: Chinese punctuation symbol can't be displayed on windows 2000.
Date: Fri, 12 Dec 2008 18:57:04 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt)

I've tested the same .emacs with windows xp, vista, only 2000 has this
issue, Chinese fonts are ok, but Chinese punctuations.

-----------------------
For example:

        character: 。 (12290, #o30002, #x3002)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x3002
           syntax: _    which means: symbol
         category: c:Chinese h:Korean j:Japanese |:line breakable
While filling, we can break a line at this character.
      buffer code: #xE3 #x80 #x82
        file code: #xE3 #x80 #x82 (encoded by coding system utf-8)
          display: no font available

Character code properties: customize what to show
  name: IDEOGRAPHIC FULL STOP
  old-name: IDEOGRAPHIC PERIOD
  general-category: Po (Punctuation, Other)
-----------------------

I also notice that if I replace the system's courer and simsun fonts
with vista's, then issue was gone.

My relavent setting for font is following:

-----------------------
(set-frame-font "Courier New-10")
(add-to-list 'default-frame-alist '(font . "Courier New-10"))

(set-fontset-font (frame-parameter nil 'font)
                  'han (font-spec :family "SimSun") nil 'prepend)
(set-fontset-font (frame-parameter nil 'font)
                  'symbol (font-spec :family "SimSun") nil 'prepend)
(set-fontset-font (frame-parameter nil 'font)
                  'cjk-misc (font-spec :family "SimSun") nil 'prepend)
(set-fontset-font (frame-parameter nil 'font)
                  'bopomofo (font-spec :family "SimSun") nil 'prepend)
(set-fontset-font (frame-parameter nil 'font)
                  'unicode (font-spec :family "SimSun") nil 'append))
-----------------------

My emacs version:

GNU Emacs 23.0.60.1 (i386-mingw-nt5.0.2195) of 2008-12-06 on mybox





reply via email to

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