From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Patrick Lenihan [sc17pl]" 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, 3 Nov 2021 18:26:55 +0000 Message-ID: References: <83wnlpgvbx.fsf@gnu.org> <83r1bxgnvk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_AM7PR03MB6151E093A9779D690CD76720DF8C9AM7PR03MB6151eurp_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11951"; mail-complaints-to="usenet@ciao.gmane.io" To: Eli Zaretskii , "51385@debbugs.gnu.org" <51385@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 03 19:33:34 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 1miL4l-0002ox-5C for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 19:33:31 +0100 Original-Received: from localhost ([::1]:56126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miL4k-0007qZ-76 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 14:33:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miKzT-0001qr-6m for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 14:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1miKzS-0004Kq-FH for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 14:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1miKzS-0001MA-CZ for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 14:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Patrick Lenihan [sc17pl]" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Nov 2021 18:28:02 +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.16359640265109 (code B ref 51385); Wed, 03 Nov 2021 18:28:02 +0000 Original-Received: (at 51385) by debbugs.gnu.org; 3 Nov 2021 18:27:06 +0000 Original-Received: from localhost ([127.0.0.1]:41181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miKyX-0001KL-Uw for submit@debbugs.gnu.org; Wed, 03 Nov 2021 14:27:06 -0400 Original-Received: from mail-db8eur05on2071.outbound.protection.outlook.com ([40.107.20.71]:56512 helo=EUR05-DB8-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miKyW-0001Jo-61 for 51385@debbugs.gnu.org; Wed, 03 Nov 2021 14:27:05 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X81Ktd1P4ZV4nT7JlnDnhrSexxIEuZzihywildRgHhdeZrnI3+Bz2TWlNsAhGEan/qx9ewl+Xtv6oE/6lepP2TwFQXq6bz44KmqMxmydFmgdihK95MoS898NunCCrtpfej4UP13PBtRL9y0O2BuyDnPfDWjGpHhApTBbmAPVu7VgMW7R1xzpzAbjbPNCRH3x83HJKcsFVX1w1OBmBea696V507PoMyrnNAltQwbYfJ65JW+XbFhaSvwEv/WjOxVH44z3Z5zSKqeRFujc5Jzqvzdp6+17fgagaIw/Y2U7SIuxfDPdwS5/JLzjXsXJFlit+LrrjgyfAk7gO4Xgk45iZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=U4G66N2bKfcWO5tdDjKb2mWrfMlK0itsZXWfe1P+rvk=; b=bZGBKsIjruPcvaYS4xfoEKP0rEJbTkso5gHMED0XV0Y9xdgbnXjQj3srECO6DYJh8sY4Cg2jLCQFxI7V+J3uWdqskkbKeB4eoISMGfgr/E4r5LpQzo3dWDgl3qadwgMnYDRH+XRLYKy/WaWjnQwY5sx4hoJMf4dxU9QV8enHCLMs6fBmeA7Z9cwa9bFpxvnvmbhR01fwH4SWlBLQNTaOf3SnTCR0KzPfZ56+7cwPjUK8V866kdsTOuI47gSQ17dPhj58RZkLxVy/IArtiF82MOXUQByR12/qkk0dSwDl0tAmfPFQOV+EmajnaY4oRz/4rzPHgY+Ehh0fCV6cRnHodg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=leeds.ac.uk; dmarc=pass action=none header.from=leeds.ac.uk; dkim=pass header.d=leeds.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leeds365.onmicrosoft.com; s=selector2-leeds365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=U4G66N2bKfcWO5tdDjKb2mWrfMlK0itsZXWfe1P+rvk=; b=rKSZLCkyUskRllRtWAPk1c87RfPhtlR7A4jEmhOOUoOdkPeEGu9oob1XyiIefHabjIpIu4BXAQsWLcuE2Iq2p2ptqisjQXvJRJ78h08iEJlw4xBJ1DeHfHmdBhHYxYv1mprks7+p6O5W/Il7u8J6VXq3wVWHLfP1AEghJR4PVHQ= Original-Received: from AM7PR03MB6151.eurprd03.prod.outlook.com (2603:10a6:20b:142::7) by AM6PR03MB4567.eurprd03.prod.outlook.com (2603:10a6:20b:b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.19; Wed, 3 Nov 2021 18:26:56 +0000 Original-Received: from AM7PR03MB6151.eurprd03.prod.outlook.com ([fe80::9589:b97c:f138:f90b]) by AM7PR03MB6151.eurprd03.prod.outlook.com ([fe80::9589:b97c:f138:f90b%3]) with mapi id 15.20.4669.011; Wed, 3 Nov 2021 18:26:55 +0000 Thread-Topic: bug#51385: 29.0.50; PragmataPro wide word ligatures such as [ERR] having the left side cut off in cairo build Thread-Index: AQHXy6sIb2Zq2GJMsU6y/s/TQ8qn0avwiCXxgAE7xXGAACU65IAAAKkCgAAsUquAAAC+1A== In-Reply-To: <83r1bxgnvk.fsf@gnu.org> Accept-Language: en-GB, en-US Content-Language: en-GB suggested_attachment_session_id: 85fc3ca8-85d6-52f5-d970-16b0f87034fb authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=leeds.ac.uk; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 488fdbe7-37b6-4fcc-efd7-08d99ef7840d x-ms-traffictypediagnostic: AM6PR03MB4567: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kGRuqXc4GluVeuPYvZmnxMxkE3vN72U996tiIGSM+0cejSp9MyrLc6Za8IiaxJthUF9H4Hbo+2lIgM8bh/1Oi5WCvzFuWNEuDu3GMfoMlJaLzw4lV/j3dgt6d388FiuRhUOuklv/n8j3xaKX1foHGd9EWMfEEcg9W7KA54kzmY4+A32cddIKDJJf9eekoZ4FvJoZBVT68NvAlwifXh+tZvZq3QE+RPp0sKlHkCh5XemTwgW7IddQQ71QUBMESzjV3YiL8OILuHu9A2GZu3swhxcNpJo8b6AmiHvVCUuB+pjZTKdFV4RSKi9cgeTzRxnpA9MkvubxCF3vgJB/fOXl7nMrk02dsJiWd4g4xd02iBR0yKFkviqts7hi7TkErzG/e3iLdMlNDdqdQwAUrsx1RgY8Wx2rj4gYBJ6z6c3aOeYLemfRuKgTowX4OJnA2Tb3M8aDuHmpXfDQqWyY/yawdGb3+rlDGHdpKUYmX/WQrUpbDkciD3oskiIsoN3X1OFgKycJFMOhx5v6DPfyV8xbLXUUHOdDzKIcTGX+FdYR1aQs7L21uoMLNUjdyDVKXMUfMB6bBmEdFDRvASxzFuBlmi1piRkj0FtTuZ6Mf6AZryRWXdiup+sTbE6lxuyP4ra4kNb0CYAw9fEQ+o2NODSBUC8LSaSswTJfPzxCDtqYumNhsU9nfyT1m6Npof/2IJOa/+cecDJgO63ueqMgx/LH2urjuEN5mxdstKzztmHUshhPAsGRWONgfaqTkVrBI L+abA9UFcBRFDKZQdOkic+7h6gpqEIIL1K1Wqr5xdrJ7o7CHN7gcPBEZaRoMBvbyBWqq6aFUKJ4efKeZkoG0cFxaje+P2pWYvn x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR03MB6151.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8936002)(26005)(508600001)(186003)(8676002)(19627405001)(166002)(38100700002)(122000001)(7696005)(86362001)(316002)(2906002)(786003)(110136005)(5660300002)(52536014)(83380400001)(53546011)(66446008)(64756008)(66556008)(66946007)(76116006)(91956017)(19627235002)(38070700005)(33656002)(6506007)(66476007)(71200400001)(55016002)(9686003)(966005)(15398625002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: sHXSZk2yP/JfZl5Yb/eiV8NyKus2sHcBZXOkMknYj1Ir2Q6UJ6POXzcN2p4MuVQgVnp5HnpdnuO7SBq6uVNDtsrEYFa8F3t8Z7/F3Au1Ni0nYg08AcUaZ/osm+iEmrgglSF70jOoFFVS64y+/wlxMhCPGIth6vAb75qgPSNWJjHLlm1UvfAzclB1tilZS7+7T2rDpTcX/Mj+2DpsD3ap8sCxBc2URSsIrO5ZKRktgW1zvbN6hqdONRJI0JgNeylzTV2bkfxeG337dGNKA0Uw8wptSwrJqo0snIkT/KbBZ3XrqdlgpxzhTb4hyu0aSDA7UkEt5IUn6m67bouFR+QIqXOoU3bMbjmHBIOSjl0y3ivl7V3Up7P31jhJHSud8NGWCMOM2ZtNeNkujEZMYnJGmg0XevtwEurwc/0RQlz428o7ls4Rou1gGS2GyMz0cegmiY1j6DuRwiB17iIjjj6lFxODbLcyreS+k1FzDj903wS47kpe1w7qhDX6VLNGh/dmZKo4UH1NpFBSQXb2OkAzvzOTARaFQn6p43fXGZAkKpsh7vELPUL2YIfrkPbnBfh1bhNVclD/svXV1+o66kzQuQOrz7vuo7HvTpD3dTE3rGI8qW7W5yNHWdnn1anULaFWX+p5xQlSBq5p60W0OS5Iz4c78u14hsz+kCUCEBZled4aUvUPc8HrUvLOTO8GfntRYkPlmV9O/jSImuQWqMpcwGGeycNOVNyXQwYC0oLBwfr1whXKtJNkeDsBy9 5cTPSRAfE37MaWWsSbiEk2E5h44e4MiHVsLJvKUIFjvb5+VYErCYXjLo/oHnS5phSqH04Js62rgYfMDNOxDPiTC3Pgsl4WJX50 X-OriginatorOrg: leeds.ac.uk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6151.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 488fdbe7-37b6-4fcc-efd7-08d99ef7840d X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2021 18:26:55.7858 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bdeaeda8-c81d-45ce-863e-5232a535b7cb X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: h22ojFHo7DGH1eXDIG3tqfUuODlNGM+Iv5eCECXOacxuSy8NiZSHb/N6b4+mFFdbg3lWK2hLbiINTz5popbFDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR03MB4567 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:218888 Archived-At: --_000_AM7PR03MB6151E093A9779D690CD76720DF8C9AM7PR03MB6151eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable These codepoints correspond to ligatures intended to highlight import messa= ges in command line like [FIXME], [TODO], [WARNING], #FIXME #TODO #ERROR, a= nd their ligatures are a bit wide. These can be viewed on the font authors = website at https://fsd.it/wp-content/uploads/command_line_messages_ligature= s.png, or on the font authors Github at https://github.com/fabrizioschiavi/= pragmatapro/blob/master/showcase/PragmataPro%200.829/PragmataPro-0829-ligat= ures.png. I found the code points at https://github.com/fabrizioschiavi/pra= gmatapro/blob/master/emacs_snippets/pragmatapro-prettify-symbols-v0.829.el,= which is also in the font author's Github. [https://repository-images.githubusercontent.com/10056929/68a59700-d314-11e= 9-9fae-babbbabbc40b] pragmatapro/pragmatapro-prettify-symbols-v0.829.el at master =B7 fabriziosc= hiavi/pragmatapro PragmataPro font is designed to help pros to work better - pragmatapro/prag= matapro-prettify-symbols-v0.829.el at master =B7 fabrizioschiavi/pragmatapr= o github.com [https://fsd.it/wp-content/uploads/command_line_messages_ligatures.png] You understood me correctly regarding these PUA characters not displaying i= n the Cairo build. If Emacs doesn't support them at all then perhaps this i= s a feature request and not a bug. Thanks for your work on Emacs. ________________________________ From: Eli Zaretskii Sent: 03 November 2021 17:17 To: Patrick Lenihan [sc17pl] Cc: 51385@debbugs.gnu.org <51385@debbugs.gnu.org> Subject: Re: bug#51385: 29.0.50; PragmataPro wide word ligatures such as [E= RR] having the left side cut off in cairo build > From: "Patrick Lenihan [sc17pl]" > Date: Wed, 3 Nov 2021 15:08:55 +0000 > > It's my ignorance. I am a user of ligature packages but don't know how th= ey communicate with the > composition table mechanism in Emacs. Perhaps my best effort recipe wasn'= t a sensible way to display > ligatures in Emacs. Why did you use those particular codepoints? where did you see them, and what glyphs on display they are supposed to show? > Although my recipe is not well written I do believe there is a bug. The w= ide PragmataPro ligatures display fine > in builds without Cairo, but only the right side is displaying if Cairo i= s included. Its the same for all ligature > packages I've tried. I'm not sure I follow: you believe this is a bug because it appears with Cairo, but not without Cairo? That's not evidence that there's a bug in Emacs. These builds use different libraries to show stuff on the glass, and each library could have its own peculiarities when PUA characters are being displayed. The important part here is that Emacs doesn't currently support display of PUA characters, even if the default font has glyphs for those characters. --_000_AM7PR03MB6151E093A9779D690CD76720DF8C9AM7PR03MB6151eurp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
These codepoints correspond to ligatures intended to highlight import messa= ges in command line like [FIXME], [TODO], [WARNING], #FIXME #TODO #ERROR, a= nd their ligatures are a bit wide. These can be viewed on the font authors = website at https://fsd.it/wp-content/uploads/command_line_messages_ligatures.png, = or on the font authors Github at https://github.com/fabrizioschiavi/pragmatapro/blob/master/showcase/Pragmat= aPro%200.829/PragmataPro-0829-ligatures.png. I found the code points at https://github.com/fabrizioschiavi/pragmatapro/blob/master/emacs_snippets/p= ragmatapro-prettify-symbols-v0.829.el, which is also in the font author= 's Github.
3D""
PragmataPro font is designed to help pros to work better - pragmatapro/prag= matapro-prettify-symbols-v0.829.el at master =B7 fabrizioschiavi/pragmatapr= o
github.com



You understood me correctly regarding these PUA characters not displaying i= n the Cairo build. If Emacs doesn't support them at all then perhaps this i= s a feature request and not a bug. Thanks for your work on Emacs.

From: Eli Zaretskii <eli= z@gnu.org>
Sent: 03 November 2021 17:17
To: Patrick Lenihan [sc17pl] <P.J.Lenihan1@leeds.ac.uk>
Cc: 51385@debbugs.gnu.org <51385@debbugs.gnu.org>
Subject: Re: bug#51385: 29.0.50; PragmataPro wide word ligatures suc= h as [ERR] having the left side cut off in cairo build
 
> From: "Patrick Lenihan [sc17pl]" &l= t;P.J.Lenihan1@leeds.ac.uk>
> Date: Wed, 3 Nov 2021 15:08:55 +0000
>
> It's my ignorance. I am a user of ligature packages but don't know how= they communicate with the
> composition table mechanism in Emacs. Perhaps my best effort recipe wa= sn't a sensible way to display
> ligatures in Emacs.

Why did you use those particular codepoints? where did you see them,
and what glyphs on display they are supposed to show?

> Although my recipe is not well written I do believe there is a bug. Th= e wide PragmataPro ligatures display fine
> in builds without Cairo, but only the right side is displaying if Cair= o is included. Its the same for all ligature
> packages I've tried.

I'm not sure I follow: you believe this is a bug because it appears
with Cairo, but not without Cairo?  That's not evidence that there's a=
bug in Emacs.  These builds use different libraries to show stuff on the glass, and each library could have its own peculiarities when PUA
characters are being displayed.

The important part here is that Emacs doesn't currently support
display of PUA characters, even if the default font has glyphs for
those characters.
--_000_AM7PR03MB6151E093A9779D690CD76720DF8C9AM7PR03MB6151eurp_--