GNU bug report logs -
#17486
24.4.50; set-face-font problem on OSX
Previous Next
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 #32 received at 17486 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 05/18/2014 11:19 AM, Jan Djärv wrote:
>> Could you please check whether set-face-font hits one of the following extra easserts?
>>
>
> ../../current/src/font.c:3311: Emacs fatal error: assertion failed: NILP (entity) || FONT_ENTITY_P (entity)
>
> (gdb) pp entity
> [#<font-entity ns apple Menlo nil iso10646-1 medium normal normal 0 nil 100 0 nil>]
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.
An output of (frame-font-cache) looks correct, so let's check both cases with the following
patch. My output looks like:
font_matching_entity: matched entity nil
font_matching_entity: matched entity #<font-entity x Misc Fixed ## JISX0201\.1976-0 medium r normal 14 75 110 70 nil>
font_matching_entity: matched entity nil
font_matching_entity: matched entity #<font-entity x Misc Fixed ## JISX0201\.1976-0 medium r normal 14 75 110 70 nil>
font_matching_entity: matched entity nil
font_matching_entity: matched entity #<font-entity x Sony Fixed ## JISX0201\.1976-0 medium r normal 16 100 110 80 nil>
font_matching_entity: matched entity nil
font_matching_entity: matched entity #<font-entity x Sony Fixed ## JISX0201\.1976-0 medium r normal 24 100 110 120 nil>
font_matching_entity: matched entity nil
and I do not see 1-item vectors here.
Dmitry
[bug17486_extra_easserts_debug_print.patch (text/x-patch, attachment)]
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.