diff src/device.c @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents 859a2309aef8
children 4be1180a9e89
line wrap: on
line diff
--- a/src/device.c	Mon Aug 13 09:00:04 2007 +0200
+++ b/src/device.c	Mon Aug 13 09:02:59 2007 +0200
@@ -1,4 +1,4 @@
-/* Generic device functions.
+ /* Generic device functions.
    Copyright (C) 1994, 1995 Board of Trustees, University of Illinois.
    Copyright (C) 1994, 1995 Free Software Foundation, Inc.
    Copyright (C) 1995, 1996 Ben Wing
@@ -92,6 +92,9 @@
 
   ((markobj) (d->color_instance_cache));
   ((markobj) (d->font_instance_cache));
+#ifdef MULE
+  ((markobj) (d->charset_font_cache));
+#endif
   ((markobj) (d->image_instance_cache));
 
   if (d->devmeths)
@@ -185,6 +188,11 @@
 						 HASHTABLE_EQUAL);
   d->font_instance_cache = make_lisp_hashtable (20, HASHTABLE_KEY_WEAK,
 						HASHTABLE_EQUAL);
+#ifdef MULE
+  /* Note that the following table is bi-level. */
+  d->charset_font_cache = make_lisp_hashtable (20, HASHTABLE_NONWEAK,
+					       HASHTABLE_EQ);
+#endif
   /*
      Note that the image instance cache is actually bi-level.
      See device.h.  We use a low number here because most of the