From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Simon Pugnet Newsgroups: gmane.emacs.bugs Subject: bug#56789: 28.1.90; Emoji composition problems with Harfbuzz 5.0.1-1 Date: Wed, 27 Jul 2022 06:10:06 +0000 Message-ID: <87a68v3x39.fsf@polaris64.net> Reply-To: Simon Pugnet Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_vjWM5syjGzDM5Tqk0vJH0TfVfCrEcVWQyARYCzbxI" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21676"; mail-complaints-to="usenet@ciao.gmane.io" To: 56789@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 27 08:11:15 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oGaGI-0005RY-AB for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Jul 2022 08:11:14 +0200 Original-Received: from localhost ([::1]:41232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGaGH-0005jD-6H for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 Jul 2022 02:11:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGaG6-0005iz-B0 for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2022 02:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGaG6-0004Ds-2G for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2022 02:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGaG5-0007Qt-UH for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2022 02:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Simon Pugnet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jul 2022 06:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56789 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165890223428519 (code B ref -1); Wed, 27 Jul 2022 06:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jul 2022 06:10:34 +0000 Original-Received: from localhost ([127.0.0.1]:54887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGaFd-0007Pv-Qq for submit@debbugs.gnu.org; Wed, 27 Jul 2022 02:10:34 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:56758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGaFa-0007Pj-Iy for submit@debbugs.gnu.org; Wed, 27 Jul 2022 02:10:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGaFX-0005hs-ID for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2022 02:10:29 -0400 Original-Received: from mail-4323.proton.ch ([185.70.43.23]:57497) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGaFT-0003vt-Db for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2022 02:10:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polaris64.net; s=protonmail; t=1658902216; x=1659161416; bh=I3ghHtF5If0d2K66gCGER0kwxBSZoe0Gb5/1iCKt1i4=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=ah9AaCQak/kJ3kf34iEdss7NUiBHrGJ+rAEPP6CDwAszIHUMFnyNcV4755U1HdU2w 4ZWun554AM6bIUH5DRAC7E8EHpo+g4Sdw6dBcQYn5oOinuZzK09GyxUF08s8ZZXy2H CPDL38pnKRpaZzS7DyolJMFqpRRtP+3mu2zHz+6i3hHCTJy+8HZwHEJxeYSG+msK7W h3anJBpjBzRgqeNpGTYXnw8agPz1WPdmLdrZ3PDGuuqlNjkiQjVe/PfNIZZStc0NeP sp8VSR2U4g+/J8q0l88LATetqWuF8xWIDTlno4ewlM9xll2tyGvqmm/4S+dS54qQZ7 wqCWJ9sD4m6qA== Feedback-ID: 29869924:user:proton Received-SPF: pass client-ip=185.70.43.23; envelope-from=simon@polaris64.net; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237999 Archived-At: This is a multi-part message in MIME format. --b1_vjWM5syjGzDM5Tqk0vJH0TfVfCrEcVWQyARYCzbxI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I have just updated the Harfbuzz package in Arch Linux to harfbuzz-5.0.1-1 and I've noticed that some emojis are no longer displayed properly. From an initial investigation it appears to be only composed sequences that have problems. Instead of seeing a correctly composed emoji sequence as before, I now only see an empty box with a single-pixel border. Calling describe-char on one of these boxes shows the base emojis properly. For example: - position: 20 of 39 (49%), column: 19 character: =F0=9F=91=A9 (displayed as =F0=9F=91=A9) (codepoint = 128105, #o372151, #x1f469) charset: unicode (Unicode (ISO10646)) code point in charset: 0x1F469 script: emoji syntax: w =09which means: word category: .:Base to input: type "C-x 8 RET 1f469" or "C-x 8 RET WOMAN" buffer code: #xF0 #x9F #x91 #xA9 file code: #xF0 #x9F #x91 #xA9 (encoded by coding system utf-8-unix) display: composed to form "=F0=9F=91=A9=E2=80=8D=E2=9D=A4= =EF=B8=8F=E2=80=8D=F0=9F=91=A8" (see below) Composed with the following character(s) "=E2=80=8D=E2=9D=A4=EF=B8=8F= =E2=80=8D=F0=9F=91=A8" 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): =E2=80=8D (#x200d) ZERO WIDTH JOINER =E2=9D=A4 (#x2764) HEAVY BLACK HEART =EF=B8=8F (#xfe0f) VARIATION SELECTOR-16 =E2=80=8D (#x200d) ZERO WIDTH JOINER =F0=9F=91=A8 (#x1f468) MAN Each individual character image is shown properly for me, but the composition isn't (in this case it previously showed a man and a woman and a love heart in between them). i.e. I see something like 'display: composed to form "[ ]" (see below)' in the output above. I'm not sure if this is a bug in Emacs or Harfbuzz however it only started happening after the upgrade to 5.0.1-1 Thank you for your time, Simon In GNU Emacs 28.1.90 (build 18, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-07-26 built on palenque Repository revision: 970190b84485e4511b094546395a7e710f894fae Repository branch: emacs-28 Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Arch Linux Configured using: 'configure --with-native-compilation --with-json --with-modules --with-xinput2' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_CTYPE: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map comp comp-cstr warnings rx cl-seq cl-macs cl-extra text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils wid-edit descr-text help-mode cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 114901 17962) (symbols 48 21114 1) (strings 32 87518 2289) (string-bytes 1 2298262) (vectors 16 28938) (vector-slots 8 1511821 27694) (floats 8 34 74) (intervals 56 291 0) (buffers 992 13)) --b1_vjWM5syjGzDM5Tqk0vJH0TfVfCrEcVWQyARYCzbxI Content-Type: application/pgp-signature; name=attachment.sig Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=attachment.sig LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NCg0KaVFKSUJBRUJDQUF5RmlFRU8vZUYzaFlz QU1qN1RhYjl1aE5acUN3TFB2a0ZBbUxnMXJvVUhITnBiVzl1UUhCdg0KYkdGeWFYTTJOQzV1WlhR QUNna1F1aE5acUN3TFB2bVhQeEFBcWQ1bnJKQURlUEN0WEpoRWhJZU1ISWlmTldyVQ0KVmRQbW03 d01UR3cwYnJ3aklyakJRY0R6WHhUN0lpY2FRSEE3cnp2eXZBNVZZSEQ2bUEvSUNoS04wS21OQkp5 dA0Kc1o4WGxVb2VRNEVBRUdqMHFkUGtyRmNlbzVycHQ3WU42OVUvaEl3NEt6aDJ4aXZsNW5Rdlcr eEN5ZVdoNE1YUQ0KN3dkbnc2eGxaZ0pRL1BLZk5aWmladzJoS3BRMEN2aVI1VWx5MC9vUDdTSkJ3 OUNrSlJqNVVh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