GNU bug report logs - #6029
23.1.96; Fail to render some Japanese characters on Windows

Previous Next

Packages: w32, emacs;

Reported by: Tak Ota <Takaaki.Ota <at> am.sony.com>

Date: Sat, 24 Apr 2010 16:22:02 UTC

Severity: normal

Merged with 7811, 9621

Done: Jason Rumney <jasonr <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6029 in the body.
You can then email your comments to 6029 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6029; Package emacs. (Sat, 24 Apr 2010 16:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tak Ota <Takaaki.Ota <at> am.sony.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 24 Apr 2010 16:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tak Ota <Takaaki.Ota <at> am.sony.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Glenn Morris <rgm <at> gnu.org>
Subject: 23.1.96; Fail to render some Japanese characters on Windows
Date: Sat, 24 Apr 2010 08:17:41 -0700
Some Japanese characters don't render correctly.  One such example
character is the middle letter in the word game "ゲーム".  Another one
I found is the dot character here between 1 and 2 "1・2".

It is tested on GNU Emacs 23.1.96.1 (i386-mingw-nt6.1.7600) running on
Windows 7 Professional 64-bit (6.1, Build 7600).  This problem is not
new and has been observed for some time.

----------------------------------------------------------------
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs <at> gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':



If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
c:/emacs/emacs-23.1.96/etc/DEBUG.


In GNU Emacs 23.1.96.1 (i386-mingw-nt6.1.7600)
 of 2010-04-20 on TAK-VAIO-Z790
Windowing system distributor `Microsoft Corp.', version 6.1.7600
configured using `configure --with-gcc (3.4) --cflags -Ic:/d/pub/emacs/include --ldflags -Lc:/d/pub/emacs/lib'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: euc-jp-unix
  default enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  auto-image-file-mode: t
  recentf-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

Recent input:
<help-echo> <down-mouse-1> <mouse-1> ESC x a p r o 
SPC <return> r e p o r t <return> C-o C-x C-q C-f b 
u g C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s 
C-e C-s C-s C-s C-s <return> C-x C-d C-d ESC x r e 
p o SPC r t SPC e m a SPC b u SPC <return>

Recent messages:
Loading c:/d/ota/.eudc-options...
Loading eudcb-ldap...done
Loading c:/d/ota/.eudc-options...done
Saving file c:/d/ota/.eudc-options...
Wrote c:/d/ota/.eudc-options
Reading .emacs ... done
For information about GNU Emacs and the GNU system, type <f1> C-a.
Mark saved where search started
Type "q" to delete this window.
Making completion list...

Load-path shadows:
c:/emacs/emacs-23.1.96/../site-lisp/p4 hides c:/emacs/site-lisp/p4/p4
c:/emacs/site-lisp/working/working hides c:/emacs/site-lisp/semantic/working
c:/emacs/site-lisp/dictionary/dictionary-1.8.4/lpath hides c:/emacs/site-lisp/auctex/lpath
c:/emacs/site-lisp/g-client/json hides c:/emacs/emacs-23.1.96/lisp/json
c:/emacs/site-lisp/ibuffer/ibuffer hides c:/emacs/emacs-23.1.96/lisp/ibuffer
c:/emacs/site-lisp/doc-view/doc-view hides c:/emacs/emacs-23.1.96/lisp/doc-view
c:/emacs/site-lisp/ruby-mode/ruby-mode hides c:/emacs/emacs-23.1.96/lisp/progmodes/ruby-mode
c:/emacs/site-lisp/semantic/semantic hides c:/emacs/emacs-23.1.96/lisp/cedet/semantic

Features:
(shadow sort flyspell ispell mail-extr message ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util
netrc time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1
hex-util hashcash mail-utils emacsbug multi-isearch help-mode view
apropos ffap wwtime scheduler table file-templates ruler-mode mule-util
time-stamp eudcb-ldap ldap eudc eudc-options-file cus-edit cus-start
cus-load eudc-vars ell derived working ansi-color edebug python-mode cl
cl-19 jka-compr compile image-file gud pcvs pcvs-parse pcvs-info
pcvs-defs easy-mmode pcvs-util ewoc recentf tree-widget wid-edit
byte-opt bytecomp byte-compile mew-auth mew-config mew-imap2 mew-imap
mew-nntp2 mew-nntp mew-pop mew-smtp mew-ssl mew-ssh mew-net
mew-highlight mew-sort mew-fib mew-ext ange-ftp comint ring mew-refile
mew-demo mew-attach mew-draft mew-message mew-thread mew-virtual
mew-summary4 mew-summary3 mew-summary2 mew-summary mew-search mew-pick
mew-passwd mew-scan mew-syntax mew-bq mew-smime mew-pgp mew-header
mew-exec mew-mark mew-mime mew-edit mew-decode mew-encode mew-cache
mew-minibuf mew-complete mew-addrbook mew-local mew-win32 mew-vars3
mew-vars2 mew-vars mew-env mew-lang-jp mew-mule3 mew-mule mew-gemacs
mew-key mew-func mew-blvs mew-const mew kkc ja-dic-utl advice help-fns
advice-preload japan-util thingatpt time cal-china lunar solar cal-dst
cal-bahai cal-islam cal-hebrew holidays hol-loaddefs appt diary-lib
diary-loaddefs regexp-opt cal-menu easymenu calendar cal-loaddefs
tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table
ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
button minibuffer faces cus-face files text-properties overlay md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process multi-tty emacs)






Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6029; Package emacs. (Wed, 05 May 2010 14:50:02 GMT) Full text and rfc822 format available.

Message #8 received at 6029 <at> debbugs.gnu.org (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: Tak Ota <Takaaki.Ota <at> am.sony.com>
Cc: 6029 <at> debbugs.gnu.org
Subject: Re: Emacs 23.1.97 pretest
Date: Wed, 05 May 2010 22:49:15 +0800
Tak Ota <Takaaki.Ota <at> am.sony.com> writes:

> C-u C-x = on the above two characters says:
...
>           display: no font available

What about C-u C-x = on some Japanese characters that do display?

The above tells me that whatever font is being selected for Japanese
characters is missing those two characters. Seems unlikely, and it
almost certainly isn't the case for all Japanese fonts installed on
the Japanese version of Windows 7.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6029; Package emacs. (Thu, 06 May 2010 05:46:02 GMT) Full text and rfc822 format available.

Message #11 received at 6029 <at> debbugs.gnu.org (full text, mbox):

From: Tak Ota <Takaaki.Ota <at> am.sony.com>
To: jasonr <at> gnu.org
Cc: 6029 <at> debbugs.gnu.org
Subject: Re: Emacs 23.1.97 pretest
Date: Wed, 5 May 2010 22:41:35 -0700
Wed, 5 May 2010 07:49:15 -0700: Jason Rumney <jasonr <at> gnu.org> wrote:

> 
> Tak Ota <Takaaki.Ota <at> am.sony.com> writes:
> 
> > C-u C-x = on the above two characters says:
> ...
> >           display: no font available
> 
> What about C-u C-x = on some Japanese characters that do display?
> 
> The above tells me that whatever font is being selected for Japanese
> characters is missing those two characters. Seems unlikely, and it
> almost certainly isn't the case for all Japanese fonts installed on
> the Japanese version of Windows 7.


        character: ゲ (12466, #o30262, #x30b2)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x30B2
           syntax: w 	which means: word
         category:
		   .:Base, K:2-byte Katakana, c:Chinese, h:Korean, j:Japanese, |:line breakable
      buffer code: #xE3 #x82 #xB2
        file code: not encodable by coding system iso-latin-1-dos
          display: by this font (glyph code)
    uniscribe:-outline-BatangChe-normal-normal-normal-mono-13-*-*-*-c-*-jisx0208*-* (#x1040)

Character code properties: customize what to show
  name: KATAKANA LETTER GE
  general-category: Lo (Letter, Other)
  decomposition: (12465 12441) ('ケ' '゙')

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6029; Package emacs. (Thu, 06 May 2010 13:44:02 GMT) Full text and rfc822 format available.

Message #14 received at 6029 <at> debbugs.gnu.org (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: Tak Ota <Takaaki.Ota <at> am.sony.com>
Cc: 6029 <at> debbugs.gnu.org
Subject: Re: Emacs 23.1.97 pretest
Date: Thu, 06 May 2010 21:42:52 +0800
Tak Ota <Takaaki.Ota <at> am.sony.com> writes:

>         character: ゲ (12466, #o30262, #x30b2)

>           display: by this font (glyph code)
>     uniscribe:-outline-BatangChe-normal-normal-normal-mono-13-*-*-*-c-*-jisx0208*-* (#x1040)

Isn't BatangChe a Korean font?  Why do your Japanese fonts get overlooked?

What do the following say (copy to the *scratch* buffer and press Ctrl-J
after each line):

(list-fonts (font-spec :registry "JISX0208*"))
(list-fonts (font-spec :registry "GB2312.1980-0"))
(list-fonts (font-spec :registry "KSC5601.1987*"))
(list-fonts (font-spec :registry "iso10646-1" :script 'kana))





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6029; Package emacs. (Thu, 06 May 2010 14:15:02 GMT) Full text and rfc822 format available.

Message #17 received at 6029 <at> debbugs.gnu.org (full text, mbox):

From: Tak Ota <Takaaki.Ota <at> am.sony.com>
To: jasonr <at> gnu.org
Cc: 6029 <at> debbugs.gnu.org
Subject: Re: Emacs 23.1.97 pretest
Date: Thu, 6 May 2010 07:14:03 -0700
Thu, 6 May 2010 06:42:52 -0700: Jason Rumney <jasonr <at> gnu.org> wrote:

> Tak Ota <Takaaki.Ota <at> am.sony.com> writes:
> 
> >         character: ゲ (12466, #o30262, #x30b2)
> 
> >           display: by this font (glyph code)
> >     uniscribe:-outline-BatangChe-normal-normal-normal-mono-13-*-*-*-c-*-jisx0208*-* (#x1040)
> 
> Isn't BatangChe a Korean font?  Why do your Japanese fonts get overlooked?
> 
> What do the following say (copy to the *scratch* buffer and press Ctrl-J
> after each line):
> 
> (list-fonts (font-spec :registry "JISX0208*"))
> (list-fonts (font-spec :registry "GB2312.1980-0"))
> (list-fonts (font-spec :registry "KSC5601.1987*"))
> (list-fonts (font-spec :registry "iso10646-1" :script 'kana))

Here is the result.  If you need full length lists without truncation
let me know how to avoid the truncation in the *scratch* buffer.

-Tak

(list-fonts (font-spec :registry "JISX0208*"))
(#<font-entity uniscribe outline Batang serif jisx0208* normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline BatangChe mono jisx0208* normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Gungsuh serif jisx0208* normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline GungsuhChe mono jisx0208* normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Gulim sans jisx0208* normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline GulimChe mono jisx0208* normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Dotum sans jisx0208* normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline DotumChe mono jisx0208* normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Meiryo sans jisx0208* bold italic normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> #<font-entity uniscribe outline Meiryo sans jisx0208* bold normal normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> #<font-entity uniscribe outline Meiryo sans jisx0208* normal italic normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> #<font-entity uniscribe outline Meiryo sans jisx0208* normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> ...)

(list-fonts (font-spec :registry "GB2312.1980-0"))
(#<font-entity uniscribe outline Batang serif gb2312\.1980-0 normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline BatangChe mono gb2312\.1980-0 normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Gungsuh serif gb2312\.1980-0 normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline GungsuhChe mono gb2312\.1980-0 normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Gulim sans gb2312\.1980-0 normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline GulimChe mono gb2312\.1980-0 normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Dotum sans gb2312\.1980-0 normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline DotumChe mono gb2312\.1980-0 normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Meiryo sans gb2312\.1980-0 bold italic normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> #<font-entity uniscribe outline Meiryo sans gb2312\.1980-0 bold normal normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> #<font-entity uniscribe outline Meiryo sans gb2312\.1980-0 normal italic normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> #<font-entity uniscribe outline Meiryo sans gb2312\.1980-0 normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> ...)

(list-fonts (font-spec :registry "KSC5601.1987*"))
nil

(list-fonts (font-spec :registry "iso10646-1" :script 'kana))
(#<font-entity uniscribe outline Batang serif iso10646-1 normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline BatangChe mono iso10646-1 normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Gungsuh serif iso10646-1 normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline GungsuhChe mono iso10646-1 normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Gulim sans iso10646-1 normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline GulimChe mono iso10646-1 normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Dotum sans iso10646-1 normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline DotumChe mono iso10646-1 normal normal normal 0 nil 110 nil ((:format . opentype) (:script symbol kanbun ideographic-description han hangul kana cjk-misc cyrillic greek latin))> #<font-entity uniscribe outline Meiryo sans iso10646-1 bold italic normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> #<font-entity uniscribe outline Meiryo sans iso10646-1 bold normal normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> #<font-entity uniscribe outline Meiryo sans iso10646-1 normal italic normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> #<font-entity uniscribe outline Meiryo sans iso10646-1 normal normal normal 0 nil 0 nil ((:format . opentype) (:script symbol khmer kanbun ideographic-description han kana cjk-misc thai bengali cyrillic greek ...))> ...)

Merged 6029 9621. Request was from Jason Rumney <jasonr <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 28 Sep 2011 14:18:02 GMT) Full text and rfc822 format available.

bug reassigned from package 'emacs' to 'emacs,w32'. Request was from Jason Rumney <jasonr <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 28 Sep 2011 14:18:03 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 24.0.90. Request was from Jason Rumney <jasonr <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 28 Sep 2011 14:18:03 GMT) Full text and rfc822 format available.

Merged 6029 7811 9621. Request was from Jason Rumney <jasonr <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 28 Sep 2011 14:22:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 30 Dec 2011 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.