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


Message #41 received at 17486 <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Dmitry Antipov <dmantipov <at> yandex.ru>
Cc: 17486 <at> debbugs.gnu.org, Christian Lynbech <christian <at> defun.dk>
Subject: Re: bug#17486: 24.4.50; set-face-font problem on OSX
Date: Mon, 19 May 2014 08:05:15 +0200
Hello.

Dmitry Antipov skrev 2014-05-19 05:38:
> 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.
>

This fixes it.  Please check it in if there are no bad effects on other 
ports.

	Jan D.






This bug report was last modified 11 years and 2 days ago.

Previous Next


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