Commit 182ba28c authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(find_font_encoding): Return Qnil for unsupported encoding.

parent fd47473c
...@@ -439,8 +439,7 @@ find_font_encoding (fontname) ...@@ -439,8 +439,7 @@ find_font_encoding (fontname)
: CONSP (XCDR (elt)) && CHARSETP (XCAR (XCDR (elt))))) : CONSP (XCDR (elt)) && CHARSETP (XCAR (XCDR (elt)))))
return (XCDR (elt)); return (XCDR (elt));
} }
/* We don't know the encoding of this font. Let's assume `ascii'. */ return Qnil;
return Qascii;
} }
/* Return encoding charset and repertory charset for REGISTRY in /* Return encoding charset and repertory charset for REGISTRY in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment