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.bugs Subject: bug#40845: SVG rendering issues Date: Sat, 25 Apr 2020 19:10:44 +0300 Message-ID: <83lfmj7dh7.fsf@gnu.org> References: <72ebf5eb-6b00-ebb4-dab3-a047e35ae1ae@gmail.com> <83o8rf7fc0.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="57030"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cpitclaudel@gmail.com, 40845@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 25 18:12:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1jSNPZ-000EkD-VW for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Apr 2020 18:12:13 +0200 Original-Received: from localhost ([::1]:40274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSNPY-0006mt-JH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Apr 2020 12:12:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56444) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSNPP-0006mX-NB for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 12:12:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSNPP-0000nm-0e for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 12:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSNPO-0000mX-KU for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 12:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSNPO-0006YT-FN for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 12:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Apr 2020 16:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40845 X-GNU-PR-Package: emacs Original-Received: via spool by 40845-submit@debbugs.gnu.org id=B40845.158783106625130 (code B ref 40845); Sat, 25 Apr 2020 16:12:02 +0000 Original-Received: (at 40845) by debbugs.gnu.org; 25 Apr 2020 16:11:06 +0000 Original-Received: from localhost ([127.0.0.1]:60244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSNOU-0006XG-6b for submit@debbugs.gnu.org; Sat, 25 Apr 2020 12:11:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSNOP-0006Wk-Hs for 40845@debbugs.gnu.org; Sat, 25 Apr 2020 12:11:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57085) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSNOJ-00040l-9y; Sat, 25 Apr 2020 12:10:55 -0400 Original-Received: from [176.228.60.248] (port=3255 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jSNOI-0007nF-II; Sat, 25 Apr 2020 12:10:55 -0400 In-Reply-To: (message from Pip Cet on Sat, 25 Apr 2020 15:48:39 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179012 Archived-At: > From: Pip Cet > Date: Sat, 25 Apr 2020 15:48:39 +0000 > Cc: cpitclaudel@gmail.com, 40845@debbugs.gnu.org > > On Sat, Apr 25, 2020 at 3:30 PM Eli Zaretskii wrote: > > > > I don't think I understand why we need to call a function for this. > > This is about displaying an image with a specific background color, > > isn't it? > > Even if the problem were just the choice of background color, that > would require significant and non-trivial changes for some cases: for > example, an emoji might have to choose foreground colors that provide > sufficient contrast to the background color, and antialiasing and > sub-pixel rendering would also need to be taken into account. We are talking about displaying images, not characters, right? So why are emoji relevant to this? > I want to be able to define something that behaves like a character, > including displaying differently in different frames and depending > on different face parameters such as weight, slant, and RTL-ness. All of that is possible with images, so I don't think I understand why we need to handle this as a character. This very bug report was filed because I said we shouldn't use characters and fonts for these purposes, so let's not discuss that alternative, please, at least not here.