[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25945: Emacs aborts while calling FT_Load_Glyph
From: |
Werner LEMBERG |
Subject: |
bug#25945: Emacs aborts while calling FT_Load_Glyph |
Date: |
Fri, 03 Mar 2017 11:37:06 +0100 (CET) |
>> > I think it's too late for (b) when we discover this problem in
>> > ftfont_get_metrics. To do (b) we should have discovered this in
>> > ftfont_has_char, or thereabouts.
>>
>> Interesting. How comes that Emacs aborts right there?
>
> Sorry, I don't understand the question. If you are asking why
> there's a call to emacs_abort if FT_Load_Glyph fails, then I guess
> it''s because this is unexpected and we have no code capable of
> coping with such a calamity.
I mean: There's more than one place where FT_Load_Glyph is called with
`FT_LOAD_DEFAULT'. You say that it is `too late'; this implies that
FT_Load_Glyph' has already been called earlier for a given glyph (with
`FT_LOAD_DEFAULT'), apparently without any fatal causes. There's just
a single `emacs_abort' related to the calls to FT_Load_Glyph, and this
looks strange to me – and not justified.
Werner
bug#25945: Emacs aborts while calling FT_Load_Glyph, Eli Zaretskii, 2017/03/11