Changes to qemacs/fbfrender.c

Charlie Gordon <[email protected]> Fri, 13 May 2005 06:05:28 -0400
Newsgroups gmane.editors.qemacs.devel
Message-ID <[email protected]>
Index: qemacs/fbfrender.c
diff -u qemacs/fbfrender.c:1.2 qemacs/fbfrender.c:1.3
--- qemacs/fbfrender.c:1.2	Wed May 11 15:48:31 2005
+++ qemacs/fbfrender.c	Fri May 13 10:05:24 2005
@@ -50,7 +50,6 @@
     return h % HASH_SIZE;
 }
 
-
 static GlyphCache *get_cached_glyph(QEFont *font, int index)
 {
     GlyphCache *p;
@@ -186,6 +185,7 @@
             font1 = select_font(s, font->style | (1 << QE_FAMILY_FALLBACK_SHIFT),
                                 font->size);
             g = fbf_decode_glyph1(font1, code);
+            release_font(s, font1);
             if (!g) 
                 return NULL;
             /* indicates that it is a fallback glyph so that the