unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: asjo@koldfront.dk, 43889@debbugs.gnu.org
Subject: bug#43889: 28.0.50; [PATCH] Add new smiley-style emoji to Gnus
Date: Mon, 12 Oct 2020 18:03:40 +0300	[thread overview]
Message-ID: <83tuuz32r7.fsf@gnu.org> (raw)
In-Reply-To: <m27drv4xza.fsf@gmail.com> (message from Robert Pluim on Mon, 12 Oct 2020 11:03:53 +0200)

> From: Robert Pluim <rpluim@gmail.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  43889@debbugs.gnu.org
> Date: Mon, 12 Oct 2020 11:03:53 +0200
> 
>     >> How about adding that: the font-backend frame parameter should tell
>     >> you if HarfBuzz is available.
> 
> By looking for the substring 'hb' in it?

Not necessarily.  The set of HarfBuzz-based font backends is very
small, so we could just have a list and test against it.

> Could we add something a little less icky, along the lines of
> 'libxml-available-p'?

We could, but it wouldn't tell us whether HarfBuzz is actually being
used (as opposed to being the fallback).

But this looks like a moot point, given what you write below:

>     Adam> Do you mean removing the option if HarfBuzz isn't available?
> 
> I donʼt think this is dependent on Harfbuzz, etc/NEWS.27:
> 
>     ** Multicolor fonts such as "Noto Color Emoji" can be displayed on
>     Emacs configured with Cairo drawing and linked with cairo >= 1.16.0.
> 
> (and on macOS, if explicitly requested)
> 
>     Adam> As far as I understand it, emoji can be displayed without, they just
>     Adam> won't have color? Which might be something that users without HarfBuzz
>     Adam> would like to be able to choose.
> 
>     Adam> (Having color emoji is just my motivation to make the patch.)
> 
> They'd be displayed with whatever font Emacs found for them.
> 
>     >> Perhaps when HarfBuzz is being used, it should be the default?  I
>     >> don't use Gnus, but maybe such a new default will make sense to Gnus
>     >> users?
> 
> 
>     Adam> I think changing the default would be annoying to users, but I don't
>     Adam> have any evidence in either direction. Maybe some users would consider
>     Adam> it "modern" to change it.
> 
> As a Gnus user I wouldnʼt object to it being the default, as long as
> there was a reasonable fallback for when those characters cannot be
> displayed.





  reply	other threads:[~2020-10-12 15:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09 19:35 bug#43889: 28.0.50; [PATCH] Add new smiley-style emoji to Gnus Unknown
2020-10-10  6:33 ` Eli Zaretskii
2020-10-10 11:12   ` Unknown
2020-10-10 11:32     ` Eli Zaretskii
2020-10-10 11:55       ` Unknown
2020-10-12  9:03         ` Robert Pluim
2020-10-12 15:03           ` Eli Zaretskii [this message]
2020-10-10 20:50 ` Lars Ingebrigtsen
2020-10-10 20:58   ` Unknown
2020-10-11  4:15     ` Lars Ingebrigtsen
     [not found]   ` <878sc4ftfa.fsf@tullinup.koldfront.dk>
2020-10-18  7:43     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83tuuz32r7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=43889@debbugs.gnu.org \
    --cc=asjo@koldfront.dk \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).