changeset 88482:effba1417b74

(free_realized_fontsets): Call Fclear_face_cache instead of calling free_reazlied_face.
author Kenichi Handa <handa@m17n.org>
date Mon, 13 May 2002 12:09:57 +0000
parents cf24f9c6ad37
children b6df31da4a9e
files src/fontset.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontset.c	Mon May 13 07:40:23 2002 +0000
+++ b/src/fontset.c	Mon May 13 12:09:57 2002 +0000
@@ -756,6 +756,11 @@
 {
   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 @@
 	}
     }
   UNBLOCK_INPUT;
+#else  /* not 0 */
+  Fclear_face_cache (Qt);
+#endif /* not 0 */
 }