From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52542: 29.0.50; Emoji makes lines taller Date: Thu, 16 Dec 2021 10:34:51 +0200 Message-ID: <83sfutgd78.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8708"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52542@debbugs.gnu.org To: Rudolf =?UTF-8?Q?Adamkovi=C4=8D?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 16 09:36:28 2021 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 1mxmFY-00027j-HU for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Dec 2021 09:36:28 +0100 Original-Received: from localhost ([::1]:38574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxmFX-0007N8-6e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Dec 2021 03:36:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxmF8-0007Mz-MD for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 03:36:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxmF8-00078R-DY for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 03:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxmF8-0002dw-3n for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 03:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Dec 2021 08:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52542 X-GNU-PR-Package: emacs Original-Received: via spool by 52542-submit@debbugs.gnu.org id=B52542.163964372110099 (code B ref 52542); Thu, 16 Dec 2021 08:36:02 +0000 Original-Received: (at 52542) by debbugs.gnu.org; 16 Dec 2021 08:35:21 +0000 Original-Received: from localhost ([127.0.0.1]:34472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxmES-0002co-TM for submit@debbugs.gnu.org; Thu, 16 Dec 2021 03:35:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxmEQ-0002cV-Bj for 52542@debbugs.gnu.org; Thu, 16 Dec 2021 03:35:19 -0500 Original-Received: from [2001:470:142:3::e] (port=54278 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxmEL-0006xy-4W; Thu, 16 Dec 2021 03:35:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Ukkb4mf7lNmDkJCrZxGRHb2R2WiyIaASGCYRzf/D71E=; b=H+sJcmh78KwFlbl1j08H fTPWVCCGclGuYeun9UsBxNt0PoU8DL/SKzPFH8jwu++Z06KcBAZCtX5XVpBONnmdl2NXLto6B2Xl5 XeHLXqA74XkkgtmVtBdtxVQgNpgRUzrhcP+r280ZCe89VskE2kJDHzB8xwgDwOOYHiHYvftN2eiiE SWqrTdsFOBaDzENaxxDAOfbDbeCA5tRfgZ3M+Z57QgFcCHXGKHRQlFs8q/J1WftrvKB+xyW0kkAfh X5fdutnmjx+q1vEaTtWwCsWhmn3cfCXLEzAYCRstZ3Dictvsx/710ndAJUNsA/fg0/OAsPitfTHkn wwnXlvhlBpCdiQ==; Original-Received: from [87.69.77.57] (port=4850 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxmEG-0007aY-Od; Thu, 16 Dec 2021 03:35:13 -0500 In-Reply-To: (bug-gnu-emacs@gnu.org) 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:222469 Archived-At: > Date: Thu, 16 Dec 2021 09:28:14 +0100 > From: Rudolf Adamkovič via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > On macOS 11/12, in Emacs 28/29, any emoji (e.g. alien) makes the line with it taller than the lines with no emojis, which breaks various things across Emacs, such as avatars in telega.el (see the attachment). > > To reproduce: > > 1. start 'emacs -Q' > > 2. type > > > foo > > 👽 bar > > baz Emacs displays the line as tall as needed for the tallest character shown on that line. This is normal, and not a bug. > 3. delete the alien > > Actual: the line with "bar" becomes less tall > > Expected: all lines always have constant height Your expectations are unfounded, IMO. Emacs cannot possibly change the fonts you have on your system, and cannot truncate glyphs of the Emoji characters if they are taller than the font used for the default face. So it has no alternative but to make the line's height larger. The only solution to that could be if you configure the fonts installed on your system to have a font which supports Emoji and whose height is not larger than that of the font used for the default face. Bottom line is: I don't see how this is an Emacs bug nor how to solve this in Emacs. Thanks.