changeset 102708:c8014e79191f

(find_font_encoding): Return Qnil for unsupported encoding.
author Kenichi Handa <handa@m17n.org>
date Tue, 24 Mar 2009 00:56:34 +0000
parents 739d433c2446
children f0016771397a
files src/font.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/font.c	Tue Mar 24 00:55:36 2009 +0000
+++ b/src/font.c	Tue Mar 24 00:56:34 2009 +0000
@@ -439,8 +439,7 @@
 	      : CONSP (XCDR (elt)) && CHARSETP (XCAR (XCDR (elt)))))
 	return (XCDR (elt));
     }
-  /* We don't know the encoding of this font.  Let's assume `ascii'.  */
-  return Qascii;
+  return Qnil;
 }
 
 /* Return encoding charset and repertory charset for REGISTRY in