GNU bug report logs - #17486
24.4.50; set-face-font problem on OSX

Previous Next

Package: emacs;

Reported by: Christian Lynbech <christian <at> defun.dk>

Date: Tue, 13 May 2014 19:11:01 UTC

Severity: normal

Found in version 24.4.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Antipov <dmantipov <at> yandex.ru>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 17486 <at> debbugs.gnu.org, Christian Lynbech <christian <at> defun.dk>
Subject: bug#17486: 24.4.50; set-face-font problem on OSX
Date: Mon, 19 May 2014 07:38:51 +0400
[Message part 1 (text/plain, inline)]
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.

Dmitry

[bug17486_proposal.patch (text/x-patch, attachment)]

This bug report was last modified 11 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.