From 27e20b2f0591536559b4f8dff5d684f2a27d1f76 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 13 May 2002 12:09:57 +0000 Subject: [PATCH] (free_realized_fontsets): Call Fclear_face_cache instead of calling free_reazlied_face. --- src/fontset.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/fontset.c b/src/fontset.c index 842aad5d6cf..2caa087c33b 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -756,6 +756,11 @@ free_realized_fontsets (base) { int id; +#if 0 + /* For the moment, this doesn't work because free_realized_face + doesn't remove FACE from a cache. Until we find a solution, we + suppress this code, and simply use Fclear_face_cache even though + that is not efficient. */ BLOCK_INPUT; for (id = 0; id < ASIZE (Vfontset_table); id++) { @@ -778,6 +783,9 @@ free_realized_fontsets (base) } } UNBLOCK_INPUT; +#else /* not 0 */ + Fclear_face_cache (Qt); +#endif /* not 0 */ } -- 2.11.4.GIT