bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17486: 24.4.50; set-face-font problem on OSX


From: Dmitry Antipov
Subject: bug#17486: 24.4.50; set-face-font problem on OSX
Date: Sun, 18 May 2014 20:17:53 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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

Attachment: bug17486_extra_easserts_debug_print.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]