all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Simon Pugnet <simon@polaris64.net>
Cc: rpluim@gmail.com, 56789@debbugs.gnu.org
Subject: bug#56789: 28.1.90; Emoji composition problems with Harfbuzz 5.0.1-1
Date: Wed, 27 Jul 2022 14:37:38 +0300	[thread overview]
Message-ID: <83h732bxbx.fsf@gnu.org> (raw)
In-Reply-To: <87h733gc9z.fsf@polaris64.net> (message from Simon Pugnet on Wed,  27 Jul 2022 09:01:15 +0000)

> Cc: 56789@debbugs.gnu.org
> Date: Wed, 27 Jul 2022 09:01:15 +0000
> From: Simon Pugnet <simon@polaris64.net>
> 
> > I installed this and then hb-view started working. The output was as
> > I'd expect: a properly composed image. I restarted Emacs however the
> > same problem persists. Perhaps I need to rebuild Emacs so I'll try
> > that in a bit.
> >
> > If that fixes it then it looks like the Arch harfbuzz package now
> > depends on chafa, however it is not listed as a dependency. That
> > would
> > then be a bug with the Arch packaging I think.
> >
> > Thanks for your help!
> 
> Following up on this, rebuilding Emacs didn't help. I also used
> LD_DEBUG while running Emacs and I cannot see any reference to chafa,
> so perhaps that was only a dependency for hb-view and not harfbuzz
> itself? I also looked through the LD_DEBUG output and I couldn't see
> anything that looked like a problem (e.g. missing harfbuzz symbols).

In your build, Cairo is also used, so maybe this is a Cairo problem,
or something between HarfBuzz and Cairo.  Or maybe the font you are
using causes this; did you try to upgrade to the latest version of
Noto Color Emoji?

This part of the "C-u C-x ="s output:

		display: composed to form "👩‍❤️‍👨" (see below)

  Composed with the following character(s) "‍❤️‍👨" using this font:
    ftcrhb:-GOOG-Noto Color
    Emoji-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1
  by these glyphs:
    [0 5 128105 2178 16 0 17 13 4 [0 0 0]]
  with these character(s):
    ‍ (#x200d) ZERO WIDTH JOINER
    ❤ (#x2764) HEAVY BLACK HEART
    ️ (#xfe0f) VARIATION SELECTOR-16
    ‍ (#x200d) ZERO WIDTH JOINER
    👨 (#x1f468) MAN

means that Emacs did recognize a composable sequence, and did pass it
all to HarfBuzz for shaping.  What happens next is entirely up to
HarfBuzz, the font, and Cairo.





  reply	other threads:[~2022-07-27 11:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-27  6:10 bug#56789: 28.1.90; Emoji composition problems with Harfbuzz 5.0.1-1 Simon Pugnet
2022-07-27  8:08 ` Robert Pluim
2022-07-27  8:26   ` Simon Pugnet
2022-07-27  9:01   ` Simon Pugnet
2022-07-27 11:37     ` Eli Zaretskii [this message]
2022-07-27 12:25       ` Simon Pugnet
2022-07-27 11:38 ` Eli Zaretskii
2022-07-27 12:06   ` Simon Pugnet
2022-07-27 12:52     ` Robert Pluim
2022-07-27 14:02       ` Robert Pluim
2022-07-27 14:29         ` Simon Pugnet
2022-07-27 15:56         ` Eli Zaretskii
2022-07-27 16:00           ` Robert Pluim
2022-07-27 16:09             ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=83h732bxbx.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=56789@debbugs.gnu.org \
    --cc=rpluim@gmail.com \
    --cc=simon@polaris64.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.