From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Motif support Date: Thu, 23 Dec 2021 18:35:36 +0100 Message-ID: References: <83k0fwwhw5.fsf@gnu.org> <87ilvgwfor.fsf@telefonica.net> <83a6grx1o9.fsf@gnu.org> <834k6zwvi1.fsf@gnu.org> <87h7azilmu.fsf@yahoo.com> <87sfujh4a2.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10165"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: ofv@wanadoo.es, Eli Zaretskii , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 23 18:38:15 2021 Return-path: Envelope-to: ged-emacs-devel@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 1n0S2f-0002PD-Qf for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 18:38:15 +0100 Original-Received: from localhost ([::1]:50968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0S2e-00063h-Jv for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 12:38:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0S0F-000347-C2 for emacs-devel@gnu.org; Thu, 23 Dec 2021 12:35:43 -0500 Original-Received: from mail-am6eur05olkn2086.outbound.protection.outlook.com ([40.92.91.86]:65376 helo=EUR05-AM6-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0S0D-0000Li-6C; Thu, 23 Dec 2021 12:35:42 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V+rHLSlFtT7V2OhPkVsZjfBQKCLq7otb2AacceT5gzNnQF12XJeX1NEUaWKAXhN6aQ1KQwamAibqNKu9NDhbWmafQHi4fd/g4Pe/zsmw90xFrrU52WV4fWVsqYoxjThyM5SpcDyKebv3siRLGfvg9PTclQfm2RKA31laAwqLfSUnOFyAiKRKlBnpC+H91w+uw5TPikt9uX/9tjHRGancE14S7B5kdnK+RecEUgupXIQBb/yAverOX55pLonvwMuwEokCsH96TsQvWYXO+DDHG4+a8DKXQ5SmO2OYGhMwtZUD1EKsihbHEk51f4beQKfv7uEg+LCmtbSEbaU1vbO1rg== 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=RgMRXOALQGb3vZAnIpE1jDn1ZjSryzqPuMSS5l3a2TY=; b=JP0F5XN6y9FqRtRxAR9xaVFrrsS2cbnKSYymMcpgf6ovjxVdFcSb58JGRPNvui7qrl017KLHKrAfEtfeYLMHekgRvtCYJimmZlzB9uOYkfdG4VeG2tvwpec0u/Z0FKkM+hxQbcpY0J092z4LaQWukyf9l5t/f4L5T37Yy8otm3SqF/I1kObku88dCHW1A7/H/YkWEqM89vrMhiBaXF/hbqQf2tT0fJnZI6a8cRbcHBzla9mnt4EHiACib9NOfKrvF3Ci0TILAQ1ouYANTnCZ2rabgvmF3cXQQli+dNZEQTeyaOw4aCzrKezDgviD90/WKaqoW6RuLsyrA6WECqJ8Rw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RgMRXOALQGb3vZAnIpE1jDn1ZjSryzqPuMSS5l3a2TY=; b=ZSvRjG7q6CHH6Pygq1fw2QWzL0OlPg6liGD9ZxLupX7HCVXiD4Ux7+iM3JwMVL/etzrdUZKYGctZCILpuwWhZSNOlvKGP0uFPtPf+0xw/mxA5yzUUtoq3kytudrhNhAT+AYaRuYlt7/aI7gxEcYvbYlwSUb8SMC0WP/ry0xdLdXkuOz9pP6sXnH3hW8Gtv6nHWvI+Hf+J7HNk7BQigerWMEGrDYAjFOSp2EDG7dZ3zFDvno90/KAi7w1xFrypdZRUHaL3xkQ6p+M91Qqx8pckYcGMUMIiiEDP1PenSWI2vD4uP2pHSyiOqfPBlDxL2FiWA7wXVio4zPQP0vlnEpdUQ== Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) by AM0PR09MB3282.eurprd09.prod.outlook.com (2603:10a6:208:16c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.14; Thu, 23 Dec 2021 17:35:38 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::b012:5fd9:9447:d64a]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::b012:5fd9:9447:d64a%5]) with mapi id 15.20.4823.019; Thu, 23 Dec 2021 17:35:38 +0000 In-Reply-To: <87sfujh4a2.fsf@yahoo.com> (Po Lu's message of "Thu, 23 Dec 2021 20:52:37 +0800") X-TMN: [iCijmOa+tsED4bT6YJ30cqNFYZTHWQg2] X-ClientProxiedBy: HE1PR07CA0005.eurprd07.prod.outlook.com (2603:10a6:7:67::15) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <8735mjgr6f.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3c02e070-3b10-440a-7823-08d9c63aa226 X-MS-TrafficTypeDiagnostic: AM0PR09MB3282:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZKevqGvP0wX41vcFpWgFN+c0plaRRYxcdRPGIKm4Ih5uJqIQ2VNA6A3vGFZ7FfGLIfdoopfcLUDTDpLl8gVKElC9yA3H2kw68txTrKmwvyZZwctqJ2dVw0QfL/ThutNIYDoO7jjKqsAt8/OjIeOom9G86Mt9pkqZht+JPQT9JsdkdixCHpY4j00JKHvfzY1Wu2dSHmXR1q6AyoLNuknMHylkYRT72puZ7rG+PFIP/n3ngGGZAh/8rXHeLvk8kNWhHtmSkKkbM9FWzB8HFOMpLsBN/8TtLpdCw8NCLqssRrRFmosus34SyJdqaTwg2VxZeqaI9LPSi4CjR3CMEJE2WYwgDocqYfGtJhbSfHTkzhyhzf7F6Sd7093r8IesDLl1hzOFJVgM4hFld6LzYkigjRHwIVO/uQ2zVkP4QGp1izzRg7u2Lmf+yB0u5LKbwxUfVHKDH0PFy2aMc0QxeOHoEtV8lNV6CzgvtgHNYhqE44ILuVpzQsWyVtpWkLfxOS7a+x/ei074UJYKumA2bB1sZL1vPfKtQhJPlnVxCvtevjuMZXGIL8UEDqXjSo/iwkjP5pvFdrKbhgx3CDJUrGDfSw== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Bl0qc8Pgw1T2uZVuvsXBmPwLCskFvwsUuGRMB0E7Np2zERCqVfRe63q/Atbm?= =?us-ascii?Q?7QTSZMGwJ8vmPO27Woo180useCMADIVKAybNODnDzo0ZaH1KanNReu8fzRMq?= =?us-ascii?Q?T7+7zY6Y52tYeS/RZ8FkPKBfrgXZCuvKZC7ep6MxEkmWwaw7RoQjWtOhtciZ?= =?us-ascii?Q?0KfiqKF/aQyETiQVfzOukuanatpLG7YUMGFnCPrnsUMFWfMO3ib1tyHYWKFz?= =?us-ascii?Q?PSvz5czJYiLfXjQgnIv023TBGSgs1yVP54iYlMgxVcICeJANi4/BfGP8Ts+7?= =?us-ascii?Q?425Ze6q8Akr8oHKCnxGORUsddIlxDht3sAU0FZFy1QxrBIm1VFMdrlzilshW?= =?us-ascii?Q?Z4oGS9tCLeaangmuCD3flguaaZ+uXgTaUJbh/q79A7oNy4oI7lzxAcvewvYZ?= =?us-ascii?Q?lH43xwj1/etZ09ArIf4ilWBJlwGsXfP7gtDDQ1P0Jujv986jrIeo5OjVWyOY?= =?us-ascii?Q?deL2aPqYBdtRb/cLRI1szdaVK++lTQncpS6f3R1G/7tyr25VwNujB7NlXONg?= =?us-ascii?Q?EBHRWEIx0KLY87pgJVLr7Q5jfkC1VQKxkbwtK8+wKi8peESxYTOARtf8rG9j?= =?us-ascii?Q?UBeRWF9lsLFBPrl+C3CGBSUSMdUUTrp1GoijV+E5EG915cPpBosfv+Hu8+Bn?= =?us-ascii?Q?TD X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-64da6.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 3c02e070-3b10-440a-7823-08d9c63aa226 X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4977.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2021 17:35:38.3593 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR09MB3282 Received-SPF: pass client-ip=40.92.91.86; envelope-from=arthur.miller@live.com; helo=EUR05-AM6-obe.outbound.protection.outlook.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:282987 Archived-At: Po Lu writes: > Arthur Miller writes: > >> I think I have expressed myself badly here; anyway what I meant, Emacs >> could use pango and harfbuzz and whatever else it uses on X together >> with freetype2 to render text on all platforms. > > We don't use Pango on X for anything more than converting the output of > the GTK font selection dialog to a font spec. > > HarfBuzz is already used on MS-Windows, and the idea is to eventually > use it on macOS as well. > > As for using FreeType, what benefit would it bring? Rendering text with The benefit of using unified platform and not needing to use os built-ins? This discussion started with someone wanted Emacs to do it's own drawing since Emacs GUI is relatively simple and does not require full-fledged GUI toolkit. Freetype would be one tool to achieve this. > Rendering text with > FreeType is not very easy and involves writing a lot of interface code > for each platform, often more than using the platform's built-in > interface. (For simple examples, see the deleted ftx driver, or the I dont understand what different interfaces are with freetype you are talking about nor what is difficult with freetype? Freetype gives you platform independent interface to read, parse and render fonts files to bitmaps. You can also do your own rendering if you want. Lots of platform independent applications use Freetype to render fonts. > It usually involves Fontconfig as well, which doesn't work very well > non-Unix systems. Freetype does not need fontconfig. I don't understand why bring fontconfig here. Fontcnfig uses freetype to read and parse font files, but freetype does not need fontconfig. Anyway, I find this discusion with you immature. You are sitting here and trying to find anything opposite for the sake of sake of saying opposite. Sorry, all best to you, I wish you Merry Christmass and all best, but I am out.