[Top][All Lists]

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

Re: Better emoji support

From: Robert Pluim
Subject: Re: Better emoji support
Date: Mon, 12 Jul 2021 17:38:42 +0200

>>>>> On Mon, 12 Jul 2021 16:02:54 +0200, Robert Pluim <rpluim@gmail.com> said:

    Robert> tr51 defines which codepoints have the 'Emoji' property, and
    Robert> which additionally have the 'Emoji_Presentation' property. The 
    Robert> means they should in the absence of a variation selector be 
    Robert> as emoji.

    Robert> My current implementation assigns codepoints with the
    Robert> 'Emoji_Presentation' property to the 'emoji' script, since thatʼs 
    Robert> we have to work with regarding font selection. But there are
    Robert> codepoints that donʼt have that property that *could* be displayed 
    Robert> emoji, so perhaps I should base it off the 'Emoji' property instead?
    Robert> (with a small exception for codepoints <= #xAE).

Having re-read relevant parts if tr51, I misunderstood this
part. Everything with the Emoji property is an emoji, and should be
displayed as such. The Emoji_Presentation property is about whether to
use the Text or Emoji presentation by default, not the emoji-ness

So I can base it off the 'Emoji' property. Based on some quick
testing, emoji fonts donʼt have glyphs for those few emoji codepoints
that are ASCII, so I propose not treating those as emoji.


reply via email to

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