On 05/18/2014 10:33 PM, Jan Djärv wrote:
Hm... so font_matching_entity sometimes returns [#<font-entity>]
instead of #<font-entity>.
Something may be wrong with font cache or with font driver-specific
match routine.
How can code (driver-specific) that has not changed suddenly become
wrong?
It may return something which doesn't match font cache data structures
any more
because the latter was changed (mostly to avoid glitches in
compact_font_caches).
There was a slight confusion between font_list_entities (which operates
on vectors of font entities) and font_matching_entity (which should operate
on font entities). Hopefully the fix is almost obvious.