From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: xenodasein--- via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Motif support Date: Tue, 21 Dec 2021 20:18:16 +0100 (CET) Message-ID: References: <83fsqlzyxo.fsf@gnu.org> <837dbxzv6x.fsf@gnu.org> <831r25ztww.fsf@gnu.org> Reply-To: xenodasein@tutanota.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9888"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs Devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 21 20:21:05 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 1mzkh7-0002Mh-25 for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 20:21:05 +0100 Original-Received: from localhost ([::1]:48160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzkh4-00078Q-Sj for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Dec 2021 14:21:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzkeV-0005Dn-V2 for emacs-devel@gnu.org; Tue, 21 Dec 2021 14:18:23 -0500 Original-Received: from w1.tutanota.de ([81.3.6.162]:41702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzkeQ-0001u5-J6; Tue, 21 Dec 2021 14:18:23 -0500 Original-Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id AEA9CFBF82D; Tue, 21 Dec 2021 19:18:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1640114296; s=s1; d=tutanota.de; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=JVvdtoyEOw5zJ5q0oWPEXTtR09GKb60gFAH4HQB60XM=; b=NYKj/UMdpEEzGJV/r0NvMV85VSqY7F1P/DcI0DxxSvqRzkPJOk/KuaJlT/Fb45bi zPWD+ZfXGOSHrvQ/kgUO1rWoFoPSIbHSegApsiTgLjZS5uSe+nQelR+laKCMuTXSArH KcMulCx2+kzCGy5scypaQEydQ5ktwI2hwnLZpD02PlgJto2rHnpmzNUiOX+IIbgBBdN jYQ52p3UNwwmBGlglxiqEVmulzrb97ji2PQPoUW2Ep1vtG1hTArC4ko2qF+rz4M658V zSJOtH+umBdToJ3PqUwRQwaO5UsAf2u4POezojF0iibgi8nPtg7uA776R1/rbonAXXS bfkC5aVsCQ== In-Reply-To: <831r25ztww.fsf@gnu.org> Received-SPF: pass client-ip=81.3.6.162; envelope-from=xenodasein@tutanota.de; helo=w1.tutanota.de 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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:282622 Archived-At: Quoting: https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg02040.ht= ml From:=09Eli Zaretskii Subject: Re: Motif support Date:=09Tue, 21 Dec 2021 20:37:03 +0200 > And then we have display of images, which again uses platform-dependent > GUI API calls, mouse and keyboard inputs and WM events that are > accessed using platform-dependent GUI API calls, etc. They are platform calls, a GUI toolkit need not be a middleman. Our GUI elements here can be thought of as one of those images, as an example. We simply tell system's window/frame to display it, like BitBlt or StretchDIBits fron Win32 API.=C2=A0 Same for input. > Of course, we do.=C2=A0 Displaying text in a GUI window (a.k.a. "frame") > requires Xlib calls on X, Win32 API calls on MS-Windows, etc.=C2=A0 And t= he > fonts available on each platform OOTB are generally different. These are also simply platform layer calls right?=C2=A0 There's no widget t= oolkit involved.=C2=A0 If a platform does not provide text rendering, we could use something like FreeType, which is what Xft uses I presume?