unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 44020@debbugs.gnu.org, Robert Pluim <rpluim@gmail.com>
Subject: bug#44020: 28.0.50; Prefer selection of colour emoji fonts?
Date: Sat, 17 Oct 2020 16:27:58 +0100	[thread overview]
Message-ID: <20201017152758.GC1166@breton.holly.idiocy.org> (raw)
In-Reply-To: <87o8l1z7al.fsf@gnus.org>

On Sat, Oct 17, 2020 at 08:38:10AM +0200, Lars Ingebrigtsen wrote:
> Alan Third <alan@idiocy.org> writes:
> 
> > On the other hand it comes preinstalled, it only works on Apple
> > devices, and Noto Color Emoji doesn't work on Apple devices. I'm not
> > sure we'd really be "promoting" it.
> 
> On the third hand, since it's preinstalled, Emacs doesn't need to
> mention it, because it's always there, and Emacs won't have problems
> displaying the characters it offers.

Even once I remove this code:

modified   src/macfont.m
@@ -2414,11 +2414,6 @@ So we use CTFontDescriptorCreateMatchingFontDescriptor (no
                   != (spacing >= FONT_SPACING_MONO)))
             continue;
 
-          /* Don't use a color bitmap font unless its family is
-             explicitly specified.  */
-          if ((sym_traits & kCTFontTraitColorGlyphs) && NILP (family))
-            continue;
-
           if (j > 0
               && !macfont_supports_charset_and_languages_p (desc, charset,
                                                             chars, languages))

Emacs almost never finds Apple Color Emoji without help. I've no idea
why.

For some reason it finds the font for BLACK DOWN-POINTING DOUBLE
TRIANGLE, but not SMILING FACE WITH SMILING EYES unless the former is
already in the document.

Should this Just Work?

BTW, there is code in ns-win.el that plays with the default fontset on
Macs which may be breaking our rules.
-- 
Alan Third





  parent reply	other threads:[~2020-10-17 15:27 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15 18:10 bug#44020: 28.0.50; Prefer selection of colour emoji fonts? Lars Ingebrigtsen
2020-10-15 18:52 ` Eli Zaretskii
2020-10-16  8:19   ` Robert Pluim
2020-10-16 10:26     ` Eli Zaretskii
2020-10-16 10:38       ` Robert Pluim
2020-10-16 10:49         ` Eli Zaretskii
2020-10-16 19:30         ` Alan Third
2020-10-17  6:38           ` Lars Ingebrigtsen
2020-10-17  9:12             ` Eli Zaretskii
2020-10-18  8:09               ` Lars Ingebrigtsen
2020-10-18 15:02                 ` Eli Zaretskii
2020-10-19  8:35                   ` Lars Ingebrigtsen
2020-10-17 15:27             ` Alan Third [this message]
2020-10-17 15:51               ` Alan Third
2020-10-17  6:44           ` Eli Zaretskii
2020-10-19 19:11             ` Robert Pluim
2020-10-16 14:49     ` Lars Ingebrigtsen
2020-10-19 10:56       ` Robert Pluim
2020-10-19 14:55         ` Eli Zaretskii
2020-10-19 18:34           ` Robert Pluim
2020-10-19 18:52             ` Eli Zaretskii
2020-10-19 19:00               ` Robert Pluim
2020-10-19 19:03               ` Stephen Berman
2020-10-19 19:46                 ` Eli Zaretskii
2020-10-19 22:00                   ` Stephen Berman
2020-10-20  2:35                     ` Eli Zaretskii
2020-10-20  7:33                       ` Robert Pluim
2020-10-20  8:58                         ` Robert Pluim
2020-10-20 14:28                           ` Eli Zaretskii
2020-10-20 14:41                             ` Robert Pluim
2020-10-19 19:03             ` Stefan Kangas
2020-10-19 19:32               ` Robert Pluim
2020-10-19 19:47               ` Eli Zaretskii
2021-11-06 19:00 ` 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=20201017152758.GC1166@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=44020@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --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).