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#51385: 29.0.50; PragmataPro wide word ligatures such as [ERR] having the left side cut off in cairo build Date: Wed, 03 Nov 2021 16:36:18 +0200 Message-ID: <83wnlpgvbx.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11971"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51385@debbugs.gnu.org, stefan@marxist.se To: "Patrick Lenihan [sc17pl]" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 03 15:40:29 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 1miHRE-0002xV-T5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 15:40:29 +0100 Original-Received: from localhost ([::1]:49584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miHRD-0001Nq-Qg for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 10:40:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miHO0-00055X-5f for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 10:37:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57496) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1miHNt-0005eM-Lx for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 10:37:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1miHNt-0002s7-Ju for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 10:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Nov 2021 14:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51385 X-GNU-PR-Package: emacs Original-Received: via spool by 51385-submit@debbugs.gnu.org id=B51385.163595019010985 (code B ref 51385); Wed, 03 Nov 2021 14:37:01 +0000 Original-Received: (at 51385) by debbugs.gnu.org; 3 Nov 2021 14:36:30 +0000 Original-Received: from localhost ([127.0.0.1]:40808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miHNO-0002r7-7e for submit@debbugs.gnu.org; Wed, 03 Nov 2021 10:36:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miHNL-0002qu-WB for 51385@debbugs.gnu.org; Wed, 03 Nov 2021 10:36:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54264) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miHNE-0005Lg-M9; Wed, 03 Nov 2021 10:36:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yfmYYVe4ZgpYSIW8Oq5sKLBsTIdRe1XmOu/hrKJfoys=; b=pwNGZA8JYqA5 5rao5N2awS09iY8DIfoZV7QJijUbCGjUIFY2kZA+TZUVu/+BPu6skxQkfQbRKGh0Ki9d9QCXqO7N5 +Zms/eVzWZX0cj8y3Wda/8Q1YWl4oC/nckeyKNuvWmcsvWDc8BLVMo4CeVO7BJBtSRh+S9OWz8Gee ZKEJZ45zXX85TKlxDS94c5M4Vow8i7v0u4vZQ//jAiJGrzrFtF0yPoXKPafxcW0m63wfyFhBSx6TO ckGV+qbREIscF08wJQZTFz/GHgOUVXmhLQGjvHXPC+jIQB7TddtrOqXfi8HiBKpEaZtTUDTAE7A17 F3zqP1r4O2+xXkd2lNEJQw==; Original-Received: from [87.69.77.57] (port=4663 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 1miHND-00052Z-N8; Wed, 03 Nov 2021 10:36:20 -0400 In-Reply-To: (P.J.Lenihan1@leeds.ac.uk) 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:218877 Archived-At: > From: "Patrick Lenihan [sc17pl]" > Date: Wed, 3 Nov 2021 12:26:59 +0000 > > Note that this issue disappears when Emacs is built without Cairo support. > > ------------------------------------------------------------------------------ > From: Patrick Lenihan [sc17pl] > Sent: 02 November 2021 17:58 > To: Stefan Kangas > Subject: Re: bug#51385: 29.0.50; PragmataPro wide word ligatures such as [ERR] having the left side cut > off in cairo build > > 1 run command "emacs -Q" > 2 M-: > 3 (set-frame-font "PragmataPro Mono Liga" nil t) > 4 C-uC-u > 5 M-x > 6 insert-char #Xe2c0 > 7 Repeat 4-6 substituting #Xe2c0 for any of the following: #Xe2b0, #Xe2b1, #Xe2b2, #Xe2b3, #Xe2b4, > #Xe2b5, #Xe2b6, #Xe2c0, #Xe2c1, #Xe2c2, #Xe2c3, #Xe2c4, #Xe2c5, #Xe2c6, #Xe2c7, #Xe2c8, > #Xe2c9, #Xe2ca, #Xe2cb, #Xe2cc, #Xe2cd, #Xe2ce, #Xe2e0, #Xe2e1, #Xe2e2, #Xe2e3, #Xe2e4, > #Xe2e5, #Xe2e6, #Xe2e7, #Xe2e8, #Xe2e9, #Xe2ea, #Xe2eb, #Xe2ec, #Xe2ed, #Xe2e #Xe2f0, #Xe2f1, > #Xe2f2, #Xe2f3, #Xe2f4, #Xe2f5, #Xe2f6, #Xe2f7, #Xe2f8, #Xe2f9, #Xe2fa, #Xe2fb, #Xe2fc, #Xe2fd, #Xe2fe > > At the moment all are clipped unless Emacs is built without Cairo support. These characters are from the Private Use Area (PUA) of Unicode. Why do you expect Emacs to produce anything sensible for them? To display such characters, it is not enough to install a font that has glyphs for PUA codepoints, you need also to tell Emacs what attributes and properties those codepoints have, because Unicode doesn't define any properties for those codepoints. I don't see a bug in this recipe. Emacs currently doesn't support display of arbitrary PUA characters.