From 908567efed9996f9f7a47124875195c194ad1ab6 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 21 Apr 2009 06:46:39 +0000 Subject: [PATCH] (font_load_for_lface): Cancel previous change. --- src/ChangeLog | 2 ++ src/font.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 378bce3a07..c066489b68 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2009-04-21 Kenichi Handa + * 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) diff --git a/src/font.c b/src/font.c index d3ebbf54f1..c9f8b3e2d8 100644 --- a/src/font.c +++ b/src/font.c @@ -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 -- 2.20.1