From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Unify the Platforms: Cairo+FreeType+Harfbuzz Everywhere (except TTY) Date: Sun, 17 May 2020 15:28:07 -0700 Message-ID: References: <20200517124125.000013a4@web.de> <97C7EAB7-10AB-4702-ABC8-EB6C1C50ABDB@gnu.org> <20200517165953.000044d2@web.de> <83lflqblp0.fsf@gnu.org> <20200517202802.00006646@web.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002fcf0105a5df9019" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="27320"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , EMACS development team To: Julius Pfrommer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 18 00:38:12 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 1jaRv9-0006z0-Oa for ged-emacs-devel@m.gmane-mx.org; Mon, 18 May 2020 00:38:11 +0200 Original-Received: from localhost ([::1]:40132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaRv8-00075F-Rz for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 18:38:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaRlf-0003e7-Nv for emacs-devel@gnu.org; Sun, 17 May 2020 18:28:23 -0400 Original-Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]:34143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaRle-0005aZ-12; Sun, 17 May 2020 18:28:23 -0400 Original-Received: by mail-yb1-xb2b.google.com with SMTP id l17so4329144ybk.1; Sun, 17 May 2020 15:28:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TTpa24HOJqU/6petkCUN97HpZr8b7KCIc6MMkutX6kQ=; b=bz37hCo86Cqqhhp7ji9sIDpTW6mUaafgzWuBRc4zw4A2fhv7xRu59EIPSuXneVEga6 zrGu7rX8EeWnl/ij+KaXUO8MajIMYaz3bFVEbQOXseaX7DjY2DLGncZaNVfK7bulS0OC v7x3n8QCvSYlJjMYExmgJ1hRCsqUSSRSv30pdgwvpiix2I0XeKR8XdGf6WjSUP4Ubbnb 6gIBv54jVce8E+NxDjJ4MPPAc2ygudbQBvP3i8fFG5XgXCA1qWZH5Xyg/KOGfzeeczHK 3rm3JgifkGTlCZeo3RTIgEH4QHCdqNY9973Oao8wqzeWFVQoWNCSQZwz4+PHiA4/iyRv TlmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TTpa24HOJqU/6petkCUN97HpZr8b7KCIc6MMkutX6kQ=; b=oKEipmA6ar5EHzV5a76Y9UG0xqLdwRDAjbF2V7tSAG132iBv+1pG0XVOmGokF/YdNt 8pIlMggNEdZvyGv8a9uZhmnq8Y1MDXn/Rsxgu0WA9CierIhKYgqfPQ8AYUBIExxsPbDR INYaI8Pawr89xhrr02qQoYcfXEVpEgUOdelLaSHfK2ol5vhbcHsqF3dWZRLd+TDG89Gr Rk612lG8b23+9KjfZLFnEgWieAlNZ0SR4QUugDwgWuqTKPWko7RTed8uex9G+rC5kqnF 3qNfu/PavakIwxDffy250PVVluJHLHq0KS8qEelNJIK9D9w1f6jD4MzkGBG2jativwHE KqDg== X-Gm-Message-State: AOAM5323oTXUBYhKEajmrWOUMOIdzHO3gLlkXhhBP/dbSHDqRxAPS9li tI5sriIqDIBXvuQS06GdndoC4SM6cs9EnSH5Fpk= X-Google-Smtp-Source: ABdhPJwaRHX6gt/C58kXq0ZS6oYGkHrSyt9xjO5IfNnYnr1j1ML3kQbuQChaKUAo7C8M6OH9q9/zvgQp9KNP/ZRc0pc= X-Received: by 2002:a25:76ce:: with SMTP id r197mr20715157ybc.502.1589754498894; Sun, 17 May 2020 15:28:18 -0700 (PDT) In-Reply-To: <20200517202802.00006646@web.de> Received-SPF: pass client-ip=2607:f8b0:4864:20::b2b; envelope-from=yandros@gmail.com; helo=mail-yb1-xb2b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:250680 Archived-At: --0000000000002fcf0105a5df9019 Content-Type: text/plain; charset="UTF-8" On Sun, May 17, 2020 at 11:30 AM Julius Pfrommer wrote: > A first step could be to assume Cairo on X-based platforms and remove > duplicate code. The second step could be to decouple the "glass" from > the tookit "chrome" more thoroughly in xterm.c. That is easier to do > when a Cairo-canvas can be assumed for drawing. > > Then, that entire "glass" could be reused by other platforms once they > have a Cairo-canvas for drawing as well. (Modulo the XWidget support > that depends on GTK.) > FWIW, there exists code to bring xwidgets and webkit into macOS without GTK: https://github.com/veshboo/emacs I haven't tried it since my macOS machine died ~1.5 years ago, but it worked once upon a time. --0000000000002fcf0105a5df9019 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Sun, May 17, 2020 at 11:30 AM Julius P= frommer <julius.pfrommer@web.d= e> wrote:
A first step could be to assume Cairo on X-based platforms and remove
duplicate code. The second step could be to decouple the "glass" = from
the tookit "chrome" more thoroughly in xterm.c. That is easier to= do
when a Cairo-canvas can be assumed for drawing.

Then, that entire "glass" could be reused by other platforms once= they
have a Cairo-canvas for drawing as well. (Modulo the XWidget support
that depends on GTK.)

FWIW, there exist= s code to bring xwidgets and webkit into macOS without GTK:
I haven't tried it since my macOS machine die= d ~1.5 years ago, but it worked once upon a time.

=
--0000000000002fcf0105a5df9019--