From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: Unify the Platforms: Cairo+FreeType+Harfbuzz Everywhere (except TTY) Date: Sun, 17 May 2020 16:09:08 +0200 Message-ID: References: <20200517124125.000013a4@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="15375"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Julius Pfrommer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 17 16:09:47 2020 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 1jaJz9-0003u1-55 for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 16:09:47 +0200 Original-Received: from localhost ([::1]:43950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaJz8-0000Be-8J for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 10:09:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaJye-0008Dd-8R for emacs-devel@gnu.org; Sun, 17 May 2020 10:09:16 -0400 Original-Received: from mail-oln040092070069.outbound.protection.outlook.com ([40.92.70.69]:28444 helo=EUR03-AM5-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 1jaJyc-0005ys-AH for emacs-devel@gnu.org; Sun, 17 May 2020 10:09:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n+v6GhptUQP/bNH2SOM+5nC3HNoCoWEKQ6tooTKL1/AbZVEahJn+dep277xyCZJVouLM0WLSXyOkcp7mw+6jwZYgnY9GrrRFHLWYTIDqIRX8m0AuekaiTCtM9g4EI1W13yWZnvRh8ZiCvTVuWMw78fT9f2+ayp//xwKrA7m5yMnaGhfylxC3NK8cOHiUiSdUjEsBPyh992b8/DQ9P5Gj57y62aEP1W6YxatbqBF2bA1R8cTY89ItIr+x8kHwz0YJy8mdOJ073JPgokRmePdkpigoem9ofv/ZYgVgYu3n5yA2hL4dcH/oIMM2L1KPwecXHuHDUldGkEu6I/foKyZvpw== 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-SenderADCheck; bh=QdKNztzgx7nnU00ug/FThfS/8GRNUDgD6RJEi+rgOis=; b=g/cxuw3ExHr6mvsJ+vCBMUjNCP9FOFXlXDw/HcZB2nGzhDkLxR84QPo0q7DthQMa9Fk0vCYo/9uAMuvU5fUA+jjNQ4JooEukk6/v1DrppKVpAS8HUHxBo0qYoJFGi6B0gOegeyQoJFWBgPmkU2XV7nVSSMP0ReQQ1UidBOk4Ool9OgJwhNt7iFzDyL22aje75w6BpWR70DAqk5nMiIEORAps+H3KoaFAvT7LQIWlGhhHB/g1V8O9I4is6ZS5EZf+aLDX3PYTm3IAoZ9MdxQsA0wCqNd9O3E0bVBTD1C7GDI+Bl3yl5zPbjWEfHtiD/R9McDaQlPaoynFNGFzJ6FgzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=live.com; dmarc=pass action=none header.from=live.com; dkim=pass header.d=live.com; 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=QdKNztzgx7nnU00ug/FThfS/8GRNUDgD6RJEi+rgOis=; b=HEyIYS1ZolWQonq33T8d9VlTOlvb6RnjZByRVA7ksH+QE0/Yxa0VK8qTmbkHMgvtyg+jge0qPWNpszltZY24hAT/uVekyy6a87C/DuKHR8eK5I3VXv4LpRGT8vjNacviHsc6zAyXZsXq/olng0R26937W5WmOiY0/BKWVU4BTtUiE1jH8aQbjKP5TgRMa1hh4lROs3NpkjcWtFjKhgBPzYwdEPHrwf+MJHsqJRZpNlfCuE3yHLgT8hyZs/dBew9ETT0uHa44kiIL2bsITS7PM17zRLvuo+G5KKScPfkPDqLn9GQXT+KX8ZGgrePSY8B8vBXj93Eibsjn+Un8EWkZJg== Original-Received: from VE1EUR03FT061.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::53) by VE1EUR03HT172.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19; Sun, 17 May 2020 14:09:10 +0000 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com (2a01:111:e400:7e09::4b) by VE1EUR03FT061.mail.protection.outlook.com (2a01:111:e400:7e09::476) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19 via Frontend Transport; Sun, 17 May 2020 14:09:10 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:FDF7D0AED21D48158FD1A972CBDCF0460064194F16661D22C7A4B91D15119DC1; UpperCasedChecksum:E5A1BAE57A61D76FF151CB5320254A03248C643CE8FBBD15A1E9B851DDDA9B17; SizeAsReceived:7512; Count:48 Original-Received: from VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::49f0:2314:a959:bec5]) by VI1PR06MB4526.eurprd06.prod.outlook.com ([fe80::49f0:2314:a959:bec5%7]) with mapi id 15.20.3000.022; Sun, 17 May 2020 14:09:10 +0000 In-Reply-To: <20200517124125.000013a4@web.de> (Julius Pfrommer's message of "Sun, 17 May 2020 12:41:25 +0200") X-ClientProxiedBy: AM5PR04CA0002.eurprd04.prod.outlook.com (2603:10a6:206:1::15) To VI1PR06MB4526.eurprd06.prod.outlook.com (2603:10a6:803:ac::17) X-Microsoft-Original-Message-ID: <87o8qm4prv.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM5PR04CA0002.eurprd04.prod.outlook.com (2603:10a6:206:1::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.26 via Frontend Transport; Sun, 17 May 2020 14:09:09 +0000 X-Microsoft-Original-Message-ID: <87o8qm4prv.fsf@live.com> X-TMN: [UmpQw64oysJI94oORjBcxfbUxwu96orL] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 50c3deb6-13a4-4e5a-a2c8-08d7fa6bde91 X-MS-TrafficTypeDiagnostic: VE1EUR03HT172: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RD0h7atGWXxR8RVvUMn4Im2UZ53bVwq98sNibiI6xbz1LCBJjE7RZybb4F1aQZBwpzkv5JVUgPJ6D0s8Ij7642bM9Uz+RCxoiVQOs6E4J7V4Fszz+kQOdhVznYL1v1eEJQ55Q5gAivTfrXCmv0Uk6ZT4iegRzL4Ux15YfRgidT+C/nZlTWuuiZUN3s38M3TAR+DgtgDAqUEpOwhM7U620g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR06MB4526.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; X-MS-Exchange-AntiSpam-MessageData: yjuVmnnz8C9rdiMk006K9Gvkr2SvnUmlEl4U0zd306MSuS5SK6wrDnNSilaByDkY2OA0CpxU7fa/XHQgLJkPHDqdsJ8bcWGn5IrmohE8Tn3pOuQVnSGaLCLEE2ufzwk0nWBJGPit0hgG6RrJ2fE4AA== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: 50c3deb6-13a4-4e5a-a2c8-08d7fa6bde91 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2020 14:09:10.3463 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR03HT172 Received-SPF: pass client-ip=40.92.70.69; envelope-from=arthur.miller@live.com; helo=EUR03-AM5-obe.outbound.protection.outlook.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/17 10:09:11 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:250602 Archived-At: Julius Pfrommer writes: > Hi all, > > during the recent discussion on "Emacs being too square", I recalled a > few projects that use OpenGL for terminal emulators [1,2]. With good > performance, smooth scrolling and the possibility to add more visual > *bling*. > > I had a good look at Emacs' code-base to see if similar approaches > could be used. As you can imagine, I got lost in a forest of #ifdef for > different platforms and GUI toolkits. The code looks scary to touch. If > you don't have access to *all supported platform*, it is likely that > changes break a platform you could not test locally. I have been looking into same, some time ago and recently, and I experience same problem. A forest of cases, all coded into same place in giant files of 5K+ lines :-). > To make the code-base less scary, there should be more code-sharing > across GUI platforms. And this is indeed possible! Emacs and Emacs src could benefit of some modularization and refactoring definitely.