From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40845: SVG rendering issues Date: Sun, 23 Aug 2020 15:23:33 +0300 Message-ID: <838se58sai.fsf@gnu.org> References: <20200822161510.GB89421@breton.holly.idiocy.org> <835z9aaaef.fsf@gnu.org> <20200822185756.GC89421@breton.holly.idiocy.org> <83y2m68p7i.fsf@gnu.org> <20200822213543.GD89421@breton.holly.idiocy.org> <83tuwt9amo.fsf@gnu.org> <20200823090859.GE89421@breton.holly.idiocy.org> <83eenx915w.fsf@gnu.org> <20200823114843.GG89421@breton.holly.idiocy.org> <83blj18t4r.fsf@gnu.org> <20200823121925.GH89421@breton.holly.idiocy.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37910"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cpitclaudel@gmail.com, 40845@debbugs.gnu.org, pipcet@gmail.com To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 23 14:24:46 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 1k9p3F-0009lT-Vg for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Aug 2020 14:24:45 +0200 Original-Received: from localhost ([::1]:53956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9p3F-00057Y-2P for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Aug 2020 08:24:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9p2Y-0004ko-EQ for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2020 08:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9p2Y-0008Dt-5e for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2020 08:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k9p2Y-00067F-0w for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2020 08:24: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: Sun, 23 Aug 2020 12:24:01 +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.159818542723480 (code B ref 40845); Sun, 23 Aug 2020 12:24:01 +0000 Original-Received: (at 40845) by debbugs.gnu.org; 23 Aug 2020 12:23:47 +0000 Original-Received: from localhost ([127.0.0.1]:52229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9p2I-00066e-Qo for submit@debbugs.gnu.org; Sun, 23 Aug 2020 08:23:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k9p2G-00066Q-Tz for 40845@debbugs.gnu.org; Sun, 23 Aug 2020 08:23:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53116) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9p2B-0008CG-KD; Sun, 23 Aug 2020 08:23:39 -0400 Original-Received: from [176.228.60.248] (port=1084 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k9p2A-0002gF-WE; Sun, 23 Aug 2020 08:23:39 -0400 In-Reply-To: <20200823121925.GH89421@breton.holly.idiocy.org> (message from Alan Third on Sun, 23 Aug 2020 14:19:28 +0200 (CEST)) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:186041 Archived-At: > Date: Sun, 23 Aug 2020 14:19:28 +0200 (CEST) > From: Alan Third > Cc: cpitclaudel@gmail.com, 40845@debbugs.gnu.org, pipcet@gmail.com > > *** The background and foreground of images now default to face > colors. When an image doesn't specify a foreground or background > color, Emacs now uses colors from the face used to draw the > surrounding text instead of the frame's default colors. > > To load images with the default frame colors use the ':foreground' > and ':background' image attributes, for example: > > (create-image "filename" nil nil > :foreground (face-attribute 'default :foreground) > :background (face-attribute 'default :background)) > > This change doesn't affect image types that do not support foreground > and background colors, such as png or jpeg. Almost perfect: I would suggest to modify the last sentence so that it tells which types of images do support this feature. Thanks.