From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Evgeny Zajcev Newsgroups: gmane.emacs.bugs Subject: bug#59075: 29.0.50; Image transforms not applied to svg images Date: Sun, 6 Nov 2022 19:07:17 +0300 Message-ID: References: <83o7tk1h3m.fsf@gnu.org> <83leoo1cv9.fsf@gnu.org> <87o7tk5j8h.fsf@gmx.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000eb0ae905eccf808e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7316"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59075@debbugs.gnu.org, Eli Zaretskii To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 06 17:08:27 2022 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 1oriCA-0001nH-Lt for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 06 Nov 2022 17:08:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oriBo-0005aJ-TU; Sun, 06 Nov 2022 11:08:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oriBm-0005ZU-TR for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2022 11:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oriBm-0005Ua-Gk for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2022 11:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oriBm-0006gP-CA for bug-gnu-emacs@gnu.org; Sun, 06 Nov 2022 11:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Evgeny Zajcev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Nov 2022 16:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59075 X-GNU-PR-Package: emacs Original-Received: via spool by 59075-submit@debbugs.gnu.org id=B59075.166775085725654 (code B ref 59075); Sun, 06 Nov 2022 16:08:02 +0000 Original-Received: (at 59075) by debbugs.gnu.org; 6 Nov 2022 16:07:37 +0000 Original-Received: from localhost ([127.0.0.1]:60484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oriBM-0006fi-UL for submit@debbugs.gnu.org; Sun, 06 Nov 2022 11:07:37 -0500 Original-Received: from mail-lf1-f46.google.com ([209.85.167.46]:42877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oriBL-0006fT-67 for 59075@debbugs.gnu.org; Sun, 06 Nov 2022 11:07:35 -0500 Original-Received: by mail-lf1-f46.google.com with SMTP id o12so13731795lfq.9 for <59075@debbugs.gnu.org>; Sun, 06 Nov 2022 08:07:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hzib9tkWvvCXSn/L9f8dXlVsnoMtXen6r6/yNzeFnRo=; b=PsPJfUsgIpEngDKP1oOULLzSqqyCbAHye27fAl/A4CSeKC2mb+KpI1FALHyeYIUVz3 orrMsBMAobIc5/i/UtQhIe8NUUPrPhsQeMD6HtE1KFc3dAv/uVDzE+r3llxYd70j5eJT DlVbQc0y/1SGEcu3xZFR0p4fR/HTp+OhcBr4anWWfADpd1hIPAxNKI9pw0F3llse/KkL PVrA3+9BKCS8L/AuF9MjyJ91fP6Ue8CBZLE/ev33ygCQcjmOrBXNQYN8+t+kltwuJBjS finLea1Pzic5cegViMzeJdFA/jq1Wg6qdlHvnVwxjDGsOq5vl9jy0TCUFn4VfmKRok7I l7yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hzib9tkWvvCXSn/L9f8dXlVsnoMtXen6r6/yNzeFnRo=; b=FTnMZrRLcjVggGmHSTD8OKuV1hj+/t8SBmsRdurK7p3keX2ICKKvlDpVpymUDkPyMW PCchin4eYltZ43gkP9APeWnRBpSp4XnEmN2LNYlecbZw4wMb38YgyV8tpO4esd3HyCcg oAX16/A/gnnKKxHO5wouKm44hvDxA4zOyIqBhCZhryqM0vu9n6Ski5WYnlJOAJeex7tZ pD6LTa9TFtJuLXbziT35wJKMYS50IO2xwKpL9Ev0QrA1MUVVJz7gA1Xq9q745vZovYc/ DsVxQE3zrCLn8sLIgGWV3DkNFySjQnaj0cPD2Js0Em/bOv8tOacPtga7IQdaz+EpKzB8 2ELQ== X-Gm-Message-State: ACrzQf18rjsz9TXUPW2jaokVDKaifvYz7eOt/r1vR7ekK1TQUIkG24M4 ljWr8kf03VVTGIBWQyXqbvJvjdRmV7Z/7p8Dqqw= X-Google-Smtp-Source: AMsMyM6zt9knoJfbdBE+BS56Ld+wCgObjJmN501dkjAoRaWAWhB5RJMkTOJ4Il3guc4zO0JZyEOU/DtTGj5JNQmNBPw= X-Received: by 2002:ac2:58e6:0:b0:4b0:246a:f722 with SMTP id v6-20020ac258e6000000b004b0246af722mr18185217lfo.117.1667750848824; Sun, 06 Nov 2022 08:07:28 -0800 (PST) In-Reply-To: <87o7tk5j8h.fsf@gmx.net> 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247221 Archived-At: --000000000000eb0ae905eccf808e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D0=B2=D1=81, 6 =D0=BD=D0=BE=D1=8F=D0=B1. 2022 =D0=B3. =D0=B2 16:02, Stephe= n Berman : > On Sun, 06 Nov 2022 14:33:30 +0200 Eli Zaretskii wrote: > > >> From: Evgeny Zajcev > >> Date: Sun, 6 Nov 2022 14:52:17 +0300 > >> Cc: 59075@debbugs.gnu.org > >> > >> If this is caused by upgrading to a newer librsvg, why are you certai= n > >> that it's an Emacs bug and not a librsvg bug? > >> > >> Newer librsvg is known to have few bugs that we have already reported > to the > >> librsvg community. > >> However, in this particular case I'm not sure this is caused by librsv= g > >> side, why transforms starts to apply > >> after changing image type in the image spec? > > > > I don't know. I'm not sure it's a librsvg bug, I'm just saying it > > could be theirs as well as ours. We need a librsvg expert to tell. > > Anyone? > > I'm no librsvg expert, but I don't see the OP's problem on master > running under GNU/Linux with librsvg 2.54.5, GTK+ 3.24.34, cairo 1.17.6. > Possibly svg image with defined viewBox should be used to trigger this. Could you please try original image I've used - http://lgarc.narod.ru/pics/github-octocat.svg Try also applying `:scale` transformer along with the `:height' as in my example --=20 lg --000000000000eb0ae905eccf808e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
=D0=B2=D1=81, 6 =D0=BD=D0=BE=D1=8F=D0= =B1. 2022 =D0=B3. =D0=B2 16:02, Stephen Berman <stephen.berman@gmx.net>:
On Sun, 06 Nov 2022 14:33:30 +0200 Eli Za= retskii <eliz@gnu.org<= /a>> wrote:

>> From: Evgeny Zajcev <
lg.zevlg@gmail.com>
>> Date: Sun, 6 Nov 2022 14:52:17 +0300
>> Cc: 590= 75@debbugs.gnu.org
>>
>>=C2=A0 If this is caused by upgrading to a newer librsvg, why are y= ou certain
>>=C2=A0 that it's an Emacs bug and not a librsvg bug?
>>
>> Newer librsvg is known to have few bugs that we have already repor= ted to the
>> librsvg community.
>> However, in this particular case I'm not sure this is caused b= y librsvg
>> side, why transforms starts to apply
>> after changing image type in the image spec?
>
> I don't know.=C2=A0 I'm not sure it's a librsvg bug, I'= ;m just saying it
> could be theirs as well as ours.=C2=A0 We need a librsvg expert to tel= l.
> Anyone?

I'm no librsvg expert, but I don't see the OP's problem on mast= er
running under GNU/Linux with librsvg 2.54.5, GTK+ 3.24.34, cairo 1.17.6.

Possibly svg image with defined viewBox should= be used to trigger this.=C2=A0 Could you please try original image I'v= e used - http://l= garc.narod.ru/pics/github-octocat.svg
<= br>
Try also applying `:scale` transformer = along with the `:height' as in my example

--
lg
=
--000000000000eb0ae905eccf808e--