* src/ftfont.c (ftfont_pattern_entity): Copy the extras argument to
the font entity extracted from the cache.
Fixes: debbugs:8109
+2011-08-08 Chong Yidong <cyd@stupidchicken.com>
+
+ * ftfont.c (ftfont_pattern_entity): Copy the extras argument to
+ the font entity extracted from the cache (Bug#8109).
+
2011-08-07 Chong Yidong <cyd@stupidchicken.com>
* composite.c (autocmp_chars): Don't reset point. That is done by
for (i = 0; i < FONT_OBJLIST_INDEX; i++)
ASET (val, i, AREF (entity, i));
+
+ ASET (val, FONT_EXTRA_INDEX, Fcopy_sequence (extra));
+ font_put_extra (val, QCfont_entity, key);
+
return val;
}
entity = font_make_entity ();