unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* script-representative-chars for emoji
@ 2021-10-04 14:55 Robert Pluim
  2021-10-04 16:37 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2021-10-04 14:55 UTC (permalink / raw)
  To: emacs-devel

Hi,

I added the following

        (emoji #x1F300 #x1F600 #xFE0F)))

to script-representative-chars when creating the emoji script, but Iʼm
now wondering if that #xFE0F was a mistake, as there are fonts that
can represent emoji that won't have a glyph for VS-16. Iʼve not
noticed any negative effects so far, but perhaps we should remove it
in emacs-28?

Thanks

Robert
-- 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: script-representative-chars for emoji
  2021-10-04 14:55 script-representative-chars for emoji Robert Pluim
@ 2021-10-04 16:37 ` Eli Zaretskii
  2021-10-04 16:55   ` Robert Pluim
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2021-10-04 16:37 UTC (permalink / raw)
  To: Robert Pluim; +Cc: emacs-devel

> From: Robert Pluim <rpluim@gmail.com>
> Gmane-Reply-To-List: yes
> Date: Mon, 04 Oct 2021 16:55:38 +0200
> 
> Hi,
> 
> I added the following
> 
>         (emoji #x1F300 #x1F600 #xFE0F)))
> 
> to script-representative-chars when creating the emoji script, but Iʼm
> now wondering if that #xFE0F was a mistake, as there are fonts that
> can represent emoji that won't have a glyph for VS-16. Iʼve not
> noticed any negative effects so far, but perhaps we should remove it
> in emacs-28?

Didn't we add VS-16 to have sequences that begin with non-Emoji
character and end in VS-16 displayed in Emoji font, the change you did
in font_ranges?  If you remove it, what happens to the likes of U+25AB
followed by U+FE0F ?




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: script-representative-chars for emoji
  2021-10-04 16:37 ` Eli Zaretskii
@ 2021-10-04 16:55   ` Robert Pluim
  2021-10-04 17:07     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Pluim @ 2021-10-04 16:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

>>>>> On Mon, 04 Oct 2021 19:37:56 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Robert Pluim <rpluim@gmail.com>
    >> Gmane-Reply-To-List: yes
    >> Date: Mon, 04 Oct 2021 16:55:38 +0200
    >> 
    >> Hi,
    >> 
    >> I added the following
    >> 
    >> (emoji #x1F300 #x1F600 #xFE0F)))
    >> 
    >> to script-representative-chars when creating the emoji script, but Iʼm
    >> now wondering if that #xFE0F was a mistake, as there are fonts that
    >> can represent emoji that won't have a glyph for VS-16. Iʼve not
    >> noticed any negative effects so far, but perhaps we should remove it
    >> in emacs-28?

    Eli> Didn't we add VS-16 to have sequences that begin with non-Emoji
    Eli> character and end in VS-16 displayed in Emoji font, the change you did
    Eli> in font_ranges?  If you remove it, what happens to the likes of U+25AB
    Eli> followed by U+FE0F ?

We added it to the emoji script, but that doesnʼt mean it needs to be
in script-representative-chars. U+25AB U+FE0F is still composed
correctly and displays with the colourful emoji glyph if I remove it
from there.

Robert
-- 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: script-representative-chars for emoji
  2021-10-04 16:55   ` Robert Pluim
@ 2021-10-04 17:07     ` Eli Zaretskii
  2021-10-04 17:12       ` Robert Pluim
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2021-10-04 17:07 UTC (permalink / raw)
  To: Robert Pluim; +Cc: emacs-devel

> From: Robert Pluim <rpluim@gmail.com>
> Cc: emacs-devel@gnu.org
> Date: Mon, 04 Oct 2021 18:55:55 +0200
> 
>     >> I added the following
>     >> 
>     >> (emoji #x1F300 #x1F600 #xFE0F)))
>     >> 
>     >> to script-representative-chars when creating the emoji script, but Iʼm
>     >> now wondering if that #xFE0F was a mistake, as there are fonts that
>     >> can represent emoji that won't have a glyph for VS-16. Iʼve not
>     >> noticed any negative effects so far, but perhaps we should remove it
>     >> in emacs-28?
> 
>     Eli> Didn't we add VS-16 to have sequences that begin with non-Emoji
>     Eli> character and end in VS-16 displayed in Emoji font, the change you did
>     Eli> in font_ranges?  If you remove it, what happens to the likes of U+25AB
>     Eli> followed by U+FE0F ?
> 
> We added it to the emoji script, but that doesnʼt mean it needs to be
> in script-representative-chars. U+25AB U+FE0F is still composed
> correctly and displays with the colourful emoji glyph if I remove it
> from there.

Then I'm okay with removing it.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: script-representative-chars for emoji
  2021-10-04 17:07     ` Eli Zaretskii
@ 2021-10-04 17:12       ` Robert Pluim
  0 siblings, 0 replies; 5+ messages in thread
From: Robert Pluim @ 2021-10-04 17:12 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

>>>>> On Mon, 04 Oct 2021 20:07:15 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> We added it to the emoji script, but that doesnʼt mean it needs to be
    >> in script-representative-chars. U+25AB U+FE0F is still composed
    >> correctly and displays with the colourful emoji glyph if I remove it
    >> from there.

    Eli> Then I'm okay with removing it.

Done.

Robert
-- 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-04 17:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04 14:55 script-representative-chars for emoji Robert Pluim
2021-10-04 16:37 ` Eli Zaretskii
2021-10-04 16:55   ` Robert Pluim
2021-10-04 17:07     ` Eli Zaretskii
2021-10-04 17:12       ` Robert Pluim

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).