emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/etc PROBLEMS [EMACS_23_1_RC]


From: Kenichi Handa
Subject: [Emacs-diffs] emacs/etc PROBLEMS [EMACS_23_1_RC]
Date: Fri, 10 Jul 2009 04:19:18 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Branch:         EMACS_23_1_RC
Changes by:     Kenichi Handa <handa>   09/07/10 04:19:18

Modified files:
        etc            : PROBLEMS 

Log message:
        Show the workaround for single<->double width problem
        of font selection in CJK environment.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/etc/PROBLEMS?cvsroot=emacs&only_with_tag=EMACS_23_1_RC&r1=1.270&r2=1.270.2.1

Patches:
Index: PROBLEMS
===================================================================
RCS file: /cvsroot/emacs/emacs/etc/PROBLEMS,v
retrieving revision 1.270
retrieving revision 1.270.2.1
diff -u -b -r1.270 -r1.270.2.1
--- PROBLEMS    16 Jun 2009 02:55:46 -0000      1.270
+++ PROBLEMS    10 Jul 2009 04:19:18 -0000      1.270.2.1
@@ -904,6 +904,26 @@
 lower/raise); tex-suscript-height-ratio (how much smaller than
 normal); tex-suscript-height-minimum (minimum height).
 
+** Some characters are displayed by single width glyphs.
+
+In Emacs 23.1, even in a CJK environment, several characters
+(e.g. U+00D7, MULTIPLICATION SIGN) are displayed by a single width
+glyph even if they belong to one of CJK charsets.  This is a known
+problem and will be fixed in the next version.  The workaround at the
+moment is to put something like this in your .emacs.
+
+(if (display-graphic-p)
+    (let ((fontset (face-attribute 'default :fontset)))
+      (set-fontset-font fontset '(#x80 . #xFF)
+                       (font-spec :registry "iso8859-1" :script 'latin))
+      (set-fontset-font fontset 'greek  '(nil . "iso8859-7"))
+      (set-fontset-font fontset 'cyrillic  '(nil . "iso8859-5"))
+      (set-fontset-font fontset '(#x80 . #xFFFF) '(nil . "jisx0208.1983-0") 
+                       nil 'append)))
+
+You may change "jisx0208.1983-0" to "gb2312.1980-0" if you are in
+Chinese language environment.
+
 * Internationalization problems
 
 ** M-{ does not work on a Spanish PC keyboard.




reply via email to

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