From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs canvas support Date: Fri, 01 May 2020 09:01:57 +0300 Message-ID: <83h7x0w5uy.fsf@gnu.org> References: <875zdikdge.fsf.ref@yahoo.com> <875zdikdge.fsf@yahoo.com> <875zdi8988.fsf@mail.linkov.net> <837dxxya1b.fsf@gnu.org> <87r1w4sp31.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="117464"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 01 08:02:40 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 1jUOkx-000URs-Pv for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 08:02:39 +0200 Original-Received: from localhost ([::1]:59190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUOkw-0002dF-T4 for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 02:02:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53190) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUOkT-0002DT-Tq for emacs-devel@gnu.org; Fri, 01 May 2020 02:02:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38068) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUOkT-0000Sf-9M; Fri, 01 May 2020 02:02:09 -0400 Original-Received: from [176.228.60.248] (port=1098 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUOkS-0004SF-LA; Fri, 01 May 2020 02:02:09 -0400 In-Reply-To: <87r1w4sp31.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 30 Apr 2020 23:20:18 +0300) 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:248292 Archived-At: > From: Juri Linkov > Cc: emacs-devel@gnu.org, luangruo@yahoo.com > Date: Thu, 30 Apr 2020 23:20:18 +0300 > > > Did you try using svg.el? > > I tried, but svg is not great, it has many unfixed problems with scaling > and backgrounds. Cannot these bugs be fixed? > OTOH, I hope with canvas it would be easy to draw such shapes around > the tab name like in web browsers shown below, and also to implement > overlapping tabs. At least canvas in web browsers allow doing such > custom drawings. The problem with canvas is that we have yet to figure out how to teach the display engine handle them correctly and efficiently. svg.el doesn't have that problem.