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 15:08:55 +0000 Message-ID: References: <83wnlpgvbx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_AM7PR03MB615117D93E8015AC75F479F5DF8C9AM7PR03MB6151eurp_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13244"; 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 16:35:51 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 1miIIp-0003Cx-2Z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 16:35:51 +0100 Original-Received: from localhost ([::1]:49344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miIIo-0007qL-0f for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 11:35:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miHtq-00059z-28 for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 11:10:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1miHtp-0005zb-PG for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 11:10:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1miHtp-0003uG-Jy for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 11:10:01 -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 15:10: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.163595214614926 (code B ref 51385); Wed, 03 Nov 2021 15:10:01 +0000 Original-Received: (at 51385) by debbugs.gnu.org; 3 Nov 2021 15:09:06 +0000 Original-Received: from localhost ([127.0.0.1]:40928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miHsv-0003sf-HO for submit@debbugs.gnu.org; Wed, 03 Nov 2021 11:09:06 -0400 Original-Received: from mail-eopbgr10073.outbound.protection.outlook.com ([40.107.1.73]:59719 helo=EUR02-HE1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miHst-0003s7-2C for 51385@debbugs.gnu.org; Wed, 03 Nov 2021 11:09:04 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JPLcCDYF5nWbEdwnw8EAEP8moASR5U6v9CrcSz4t2kwY0uKXfb7TTgyejX9sEedeyPmMsCJA3vFOQWVEJGePPALzXJeIlzw/u/ZHWB0rSkgUWKe9ibPSkBOUiw8TXUxgrR9YP8e4F3Zs1fZb/wtX3n4XWt22FeLWK7L+jcxVgOjPbL+x0tXF2blIfrTQNDR7vA1vE3ZB9DaaQSG07U743Dsa5hEJCwyT2DUcAXGh2cO/Xkd4/mcM3PQQVTTAw4v9qYOQiX9XFYLQweVLI4mFZxM2Xm0YbPZT0Jp236+kMzUywPitGIjRR/omE7MPxlzCA7BP37Y8cYSIyVetSQAB3A== 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=ee/FG6IdX9GMqD5VBkyKpPi9FNVa6HfdywJTZUeu2a4=; b=cGY2JKx3oo1TqrifVs/2DrlBITHA4oq8resMONRrcgLE8OWaP1NBSlHWTf/c9tFUZYJwkqfouwz/5QkYo3Z0ehs6pDMepTxBliB8vJu7tLKpVQ7VqJejDzJk/rKzyRkFZ1Q7g680/iU2BpdreVl2eaaPlJZ7LUaok0nGN8N6JBzhK6TulL/RBmUWsOmLYDZ9pLW553FOk9t0BhufbZ2nM6jC0DeWuyGARP+HmALwASoaKfnDTJRFz12dYghGx8lGGQKAwQIEMJXqnSm0I43br7S7CEWgccaY4rm/eWsr2UFAa1jL1QYI6IZudxnvwFeLRgeiYeg917ZH1+/F2CRrug== 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=ee/FG6IdX9GMqD5VBkyKpPi9FNVa6HfdywJTZUeu2a4=; b=C3SEY+PzYHrKK6PcDm/yPTiOEPKN0ykLtaKdOOpINPKhL6C764o11aF5DOChPUbYCcYUMOMQEi6AyuMnplxP2jf1SYkZ76kf/QmH2P+7fgQluCmMqBNZuCh9D3bhG728MQ+pRn6FRpNW6mKxSJVfEjNGer5wv6fMRPMpK+ZmD94= Original-Received: from AM7PR03MB6151.eurprd03.prod.outlook.com (2603:10a6:20b:142::7) by AM5PR03MB2979.eurprd03.prod.outlook.com (2603:10a6:206:17::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.10; Wed, 3 Nov 2021 15:08: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 15:08:56 +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/TQ8qn0avwiCXxgAE7xXGAACU65IAAAKkC In-Reply-To: <83wnlpgvbx.fsf@gnu.org> Accept-Language: en-GB, en-US Content-Language: en-GB suggested_attachment_session_id: de929729-1cfb-804c-824d-ce974826982a 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: 6f1d81f7-7f8c-473a-6c7a-08d99edbdb1c x-ms-traffictypediagnostic: AM5PR03MB2979: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qLI9MIWLx3DCkA96kSDtahCyab9qE6Meel7arqJ2sl0q2Bljbsq+dS4NXegxZ5G4ZdaNDzUFLMofzKyHx9chZ3GMpUpO39ayKOevFHIOa0iE/kGVG7KtgDnczFrSUvwTTQxz4tCtZGJE3N6Acf1iCCwrQFwU0m7iRwzK2JUDfpp92f4O3vIZrFSQ6YjinWp+NladcYDwzmCPQJ/IsJlCaV7XdGX14oQRczGdVtIVx8+HZu/TD6ajqMOw3u86sI1LMSQOpTBJJs9tqk2B/sJoQ4FSmSQhz4ZhCw7Le2OHn8ipRQVrjsRnHDUVBWOg2Kglh9Ji32VPpNAAxa4bhlJ21yCI/p1cShOsxQn019kn/FB+a+IEQ+F05KHx3RphTLG8uVDQ2Ukk2r+SNvqgXyO5YlYMaCIYjMcYlMaKOx5m5SCRgo+R5Bz4YsDhcgtxkRd/nI4eBAjd3kNgebMOdqmve/mka/mY7Ax6pZ2vcf27XK7f8RaXE+6HtStcPfnozfVOi1rw1DRD/ZDkGDeM6BiXBeJMyjDWK0ihpKRDDYwaBEvXRCDcaRzid+vbbPP9ldkgFyjlo9R5/68p0JxPv2VwDW5/tbcVgHiXirSOoJkqhsi8R882LNzJ9KQp76JSOuZKD6hwFF/tp0OZHegIpeszegonTBGJVmqEDR9ZwTx7g0e3syW8t+mFoo62cDecNFgqDGHk62MFo1FugjRBF29CrQ== 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)(38100700002)(122000001)(55016002)(5660300002)(66556008)(66476007)(86362001)(9686003)(76116006)(91956017)(6506007)(186003)(508600001)(66946007)(52536014)(26005)(53546011)(64756008)(66446008)(7696005)(19627405001)(38070700005)(2906002)(786003)(316002)(33656002)(110136005)(71200400001)(8676002)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 4kI4bGJPjM43KRm9UhXmBPE0CcMdf4SZFeLZuHhVFm+QF525BC6c30K7Z1FEZMOtZpVvzLdLIJIvNpaz5jifO392NfFZK7HjaZEzLnS2+fhK6N5k4qfbdXx886o6rNkmoOERGPIrJEoYuoPuUWZf60FHKbQAZFVdLvne1hcLo3p3oIF2iCgtEDpgonOysctJr0aeArZbsJab75wnmBKr39SJ/iy7WU4PxaRHA3DqpabeZZG2lc9ueKhZKX8iU+kBgvsqdhVTBfaK191QaotLmOJ4+yYREJKfEXOlSHngD/mAp9ibWMf1cIYgj9adQeJSL29bTH7o/4vjfEsGSrvr5utdm1Eo6Opkt2he4B2elAz/O1mFHkT/6M7Kicx77xk1R0topcIWJX4JyOp/VjbtCOVuygEjbzGL8APvZ+yrIYzqzjntwYyuFRB+C4lYPrn1faCmP5IMgc4ieIFfR9eGCRHqv5pf6efr+Ub/dent1ryjeJnfMgYzM/Q8LyQjAf3VCJnSp7sT6eOB2HATKHob6L6PA/qdo7LZ0ILGiWpgzrTHWXw7/M6crpEwumn50rvWEyBUzHvuiOrauezYvg+uI84vkCmnjeffs9Vg6dJux/R0EQEfixfmOK2u2UOW/2ry4XOZZ0aB0pzhUO7k0t+y4ooQ5jULTqG6hzUqIteHua0uCu/I8NmsKV48XLoA6lG5KgEkRE10OvQrBOaq/ORcg6iNDKsIsGY61Bu9NxEvDoamYbB/AZTlaMaax0 mEnJfbyZmWvzkM4rAr2coKX99eny5KWZ65eDSZRvGBD2lAXFsnaRdwdIvbV0IK28tx7r8hBRIKfxHW0P7r5JtgeJYHrtD9YGqr 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: 6f1d81f7-7f8c-473a-6c7a-08d99edbdb1c X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2021 15:08:55.9630 (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: bl31w3CxO6d7R0nerlQ6dgVsDfmlZ/8fmhhMaV0Ufj5t3xUy0BBe+4QwY/qyNq78+yDRcYv2RnaqydaVe/n6Mw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR03MB2979 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:218878 Archived-At: --_000_AM7PR03MB615117D93E8015AC75F479F5DF8C9AM7PR03MB6151eurp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 wasn't a sensible way to display ligatures in Emacs. Although my recipe is not well written I do believe there is a bug. The wid= e PragmataPro ligatures display fine in builds without Cairo, but only the = right side is displaying if Cairo is included. Its the same for all ligatur= e packages I've tried. ________________________________ From: Eli Zaretskii Sent: 03 November 2021 14:36 To: Patrick Lenihan [sc17pl] Cc: stefan@marxist.se ; 51385@debbugs.gnu.org <51385@deb= bugs.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 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 suppor= t. 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. --_000_AM7PR03MB615117D93E8015AC75F479F5DF8C9AM7PR03MB6151eurp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
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 wasn't a sensible way to display ligatures in Emacs.
Although my recipe is not well written I do believe there is a bug. The wid= e PragmataPro ligatures display fine in builds without Cairo, but only the = right side is displaying if Cairo is included. Its the same for all ligatur= e packages I've tried.

From: Eli Zaretskii <eli= z@gnu.org>
Sent: 03 November 2021 14:36
To: Patrick Lenihan [sc17pl] <P.J.Lenihan1@leeds.ac.uk>
Cc: stefan@marxist.se <stefan@marxist.se>; 51385@debbugs.gnu.o= rg <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 12:26:59 +0000
>
> Note that this issue disappears when Emacs is built without Cairo supp= ort.
>
> ----------------------------------------------------------------------= --------
> From: Patrick Lenihan [sc17pl] <P.J.Lenihan1@leeds.ac.uk>
> Sent: 02 November 2021 17:58
> To: Stefan Kangas <stefan@marxist.se>
> 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<SPC>
> 5 M-x
> 6 insert-char #Xe2c0
> 7 Repeat 4-6 substituting #Xe2c0 for any of the following: #Xe2b0, #Xe= 2b1, #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 Cair= o support.

These characters are from the Private Use Area (PUA) of Unicode.  Why<= br> 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.
--_000_AM7PR03MB615117D93E8015AC75F479F5DF8C9AM7PR03MB6151eurp_--