(font_load_for_lface): Cancel previous change.
authorKenichi Handa <handa@m17n.org>
Tue, 21 Apr 2009 06:46:39 +0000 (06:46 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 21 Apr 2009 06:46:39 +0000 (06:46 +0000)
src/ChangeLog
src/font.c

index 378bce3..c066489 100644 (file)
@@ -1,5 +1,7 @@
 2009-04-21  Kenichi Handa  <handa@m17n.org>
 
+       * font.c (font_load_for_lface): Cancel previous change.
+
        * coding.c (decode_coding_utf_16): Reduce charbuf_end for the
        worst case.
        (decode_coding_emacs_mule, decode_coding_iso_2022)
index d3ebbf5..c9f8b3e 100644 (file)
@@ -3437,8 +3437,7 @@ font_load_for_lface (f, attrs, spec)
 {
   Lisp_Object entity;
 
-  /* We assume that a font that supports 'A' supports ASCII chars.  */
-  entity = font_find_for_lface (f, attrs, spec, 'A');
+  entity = font_find_for_lface (f, attrs, spec, -1);
   if (NILP (entity))
     {
       /* No font is listed for SPEC, but each font-backend may have