]> code.delx.au - gnu-emacs/commitdiff
(syms_of_character): Setup Vchar_width_table for
authorKenichi Handa <handa@m17n.org>
Wed, 12 Jun 2002 00:13:15 +0000 (00:13 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 12 Jun 2002 00:13:15 +0000 (00:13 +0000)
eight-bit-control and raw-byte chars.

src/character.c

index 271a350db063f8800802dff1e37bc5f0f381d3ba..aa279183e77be6eb7350c43ff63ae4030608d9d4 100644 (file)
@@ -903,6 +903,9 @@ Such characters have value t in this table.  */);
               doc: /*
 A char-table for width (columns) of each character.  */);
   Vchar_width_table = Fmake_char_table (Qnil, make_number (1));
+  char_table_set_range (Vchar_width_table, 0x80, 0x9F, make_number (4));
+  char_table_set_range (Vchar_width_table, MAX_5_BYTE_CHAR + 1, MAX_CHAR,
+                       make_number (4));
 
   DEFVAR_LISP ("char-direction-table", &Vchar_direction_table,
               doc: /* A char-table for direction of each character.  */);