changeset 89574:3c4fef237ab7

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Mon, 06 Oct 2003 11:24:18 +0000
parents 6b5d42f51038
children 59d10ebd2a0b
files src/ChangeLog.22 src/fontset.h src/lisp.h
diffstat 3 files changed, 26 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog.22	Mon Oct 06 11:23:25 2003 +0000
+++ b/src/ChangeLog.22	Mon Oct 06 11:24:18 2003 +0000
@@ -1,3 +1,25 @@
+2003-10-06  Kenichi Handa  <handa@m17n.org>
+
+	* charset.h (charset_unicode): Extern it.
+
+	* charset.c (string_xstring_p): Check by (C >= 0x100).
+	(find_charsets_in_text): Format of the arc CHARSETS changed.  New
+	arg MULTIBYTE.
+	(Ffind_charset_region, Ffind_charset_string): Adjusted for the
+	change of find_charsets_in_text.
+	(Fsplit_char): Fix doc.  Never return unknown.
+
+	* chartab.c (char_table_translate): Use CHARACTERP, not INETEGERP.
+
+	* coding.c (Fdefine_coding_system_alias): Update
+	Vcoding_system_list.
+
+	* fontset.c (load_font_get_repertory): Pay attention to the case
+	that ENCODING of a font is specified by a char-table.
+
+	* xterm.c (x_get_font_repertory): Handle the case that the
+	encoding of font is other than Unicode.
+
 2003-10-02  Kenichi Handa  <handa@m17n.org>
 
 	* term.c (encode_terminal_code): Don't handle glyph-table.  Check
--- a/src/fontset.h	Mon Oct 06 11:23:25 2003 +0000
+++ b/src/fontset.h	Mon Oct 06 11:24:18 2003 +0000
@@ -43,7 +43,8 @@
   /* Full name of the font given by a window system.  */
   char *full_name;
 
-  /* Charset of characters displayed by the font.  */
+  /* Charset to encode a character code into a glyph code of the
+     font.  */
   int charset;
 
 #ifdef WINDOWSNT
--- a/src/lisp.h	Mon Oct 06 11:23:25 2003 +0000
+++ b/src/lisp.h	Mon Oct 06 11:24:18 2003 +0000
@@ -697,9 +697,8 @@
    ? XSUB_CHAR_TABLE (XCHAR_TABLE (CT)->ascii)->contents[IDX]		 \
    : char_table_ref ((CT), (IDX)))
 
-/* Almost equivalent to Faref (CT, IDX) with optimization for ASCII
-   and 8-bit Europeans characters.  However, if the result is nil,
-   return IDX.
+/* Almost equivalent to Faref (CT, IDX).  However, if the result is
+   not a character, return IDX.
 
    For these characters, do not check validity of CT
    and do not follow parent.  */