[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Entering emojis
From: |
Lars Ingebrigtsen |
Subject: |
Re: Entering emojis |
Date: |
Sat, 30 Oct 2021 14:17:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> +DEFUN ("font-has-glyph-p", Ffont_has_glyph_p, Sfont_has_glyph_p, 2, 2, 0,
>
> Please call this font-has-char, since that's what it tests.
Sure. The really logical name would be font-has-glyph-for-char-p, but
that's a mouthful.
>> + doc:
>> + /* Say whether FONT has a glyph for CHAR. */)
>
> Not FONT, FONT-OBJECT. They are different beasts.
Fixed.
> Some font backends have a has_char method, which should be used if
> available in preference to encode_char. So I think a better
> implementation for this is to call font_has_char (in which case
> FONT-OBJECT could also be a font-entity, something that could be
> useful in some cases).
Yup. This seems to make the check about 15% faster. Now pushed to the
branch.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Entering emojis, (continued)
- Re: Entering emojis, Eli Zaretskii, 2021/10/29
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/29
- Re: Entering emojis, Eli Zaretskii, 2021/10/29
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/29
- Re: Entering emojis, Eli Zaretskii, 2021/10/29
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/29
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/29
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/29
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/29
- Re: Entering emojis, Eli Zaretskii, 2021/10/30
- Re: Entering emojis,
Lars Ingebrigtsen <=
- Re: Entering emojis, Robert Pluim, 2021/10/28
- Re: Entering emojis, Stefan Kangas, 2021/10/28
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/28
- Re: Entering emojis, Stefan Kangas, 2021/10/28
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/28
- Re: Entering emojis, Eli Zaretskii, 2021/10/28
- Re: Entering emojis, Stefan Kangas, 2021/10/28
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/28
- Re: Entering emojis, Eli Zaretskii, 2021/10/29
- Re: Entering emojis, Eli Zaretskii, 2021/10/29