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, 13 Nov 2022 11:57:58 +0300 Message-ID: References: <83o7tk1h3m.fsf@gnu.org> <83leoo1cv9.fsf@gnu.org> <87o7tk5j8h.fsf@gmx.net> <877d0858oz.fsf@gmx.net> <87v8nr8v9g.fsf@yahoo.com> <877d077y1m.fsf@yahoo.com> <87h6z4303z.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007a940405ed565297" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2149"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59075@debbugs.gnu.org, Eli Zaretskii , Stephen Berman To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 13 09:59:23 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 1ou8pn-0000Py-7M for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Nov 2022 09:59:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ou8pa-0004Sq-Vz; Sun, 13 Nov 2022 03:59:11 -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 1ou8pT-0004SV-KX for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 03:59:04 -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 1ou8pS-0002hW-Df for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 03:59:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ou8pS-0003LR-27 for bug-gnu-emacs@gnu.org; Sun, 13 Nov 2022 03:59: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, 13 Nov 2022 08:59: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.166832989712807 (code B ref 59075); Sun, 13 Nov 2022 08:59:02 +0000 Original-Received: (at 59075) by debbugs.gnu.org; 13 Nov 2022 08:58:17 +0000 Original-Received: from localhost ([127.0.0.1]:50045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou8oj-0003KV-F5 for submit@debbugs.gnu.org; Sun, 13 Nov 2022 03:58:17 -0500 Original-Received: from mail-lj1-f176.google.com ([209.85.208.176]:38800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ou8oi-0003KJ-Cb for 59075@debbugs.gnu.org; Sun, 13 Nov 2022 03:58:16 -0500 Original-Received: by mail-lj1-f176.google.com with SMTP id b9so9350369ljr.5 for <59075@debbugs.gnu.org>; Sun, 13 Nov 2022 00:58:16 -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=DDQ1tuC3G/VxTFQElf5+Z15ZI4qSv8fIdDamIx7JidY=; b=GJpatrfc997d/3cZaO4CZMhHVEr4DzQoC8Js7IccfPZoMARsAzKCLP9dpmxyDVHwA0 NPnDfWDyXl4cdBoARbXvXQBRp+I1winbczAHRYNELORMaEBJcUr8Wc+AaCTAt3WuuXL+ Dyi8FD6re6k0GbxQohUz8SWV7mG1ljE+Cx8FzAqEAP1BDmZ4aIRGSw3aJvkP3Pf4iMGX /0AvwPdvzOooR5ue8PSB7E8MF2e6LeDIx2eTLj/qUkSiLuBkig3rz3U64YFEO9/sqonU Uh3TNdZ5AVDwQ/ERcq1ZZ1lVthpZlGgvGOmsq2WRhBs0Ih7raLdJ+Bo/+VNIe13jkKzC wnXw== 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=DDQ1tuC3G/VxTFQElf5+Z15ZI4qSv8fIdDamIx7JidY=; b=rkqYRZH+Y8HX5dBHwhmp6PYpcLpzal2Dte0iMOzpTL54gL7YUMhwnTkViEKgy1I2fj JgwP85+PeL3lgEsZZOAch0oEzfsNben5oEKgjEEHndjgVf5SWhSs20I0yEBdli17xatN 2eiNpPgsywPnJ3BdouuUJI7uOmIpaLKNovStarDIw0jA0C9Wjo5sHyqllmqXJaMgZMlG mSHW7/STBr4JI8cU8koo8uU6E7flre0LoU/R74mO8QWuu/AFUyVTRW1+OlEDojiMrRIr i4YzGB1/iHUq0OcUJNuBnnM23i+s8cWW+NJU1mKCr6zfi46wxJC2VY76XPDYd39PDyB8 HzJA== X-Gm-Message-State: ANoB5pmftPRcwXAloVc77bIz/4pmKdvgeinkQOZYh5ujgH8abnhT+yZk NsZp/LwvRb5jFZvkdb0BCcNOwPv1vbsBe3dqF5U= X-Google-Smtp-Source: AA0mqf6xQSVeH2rQwEILnQTWH0xoxzE+uk/z48KZ96O/orVO5ovHFF6fKwyKrAfD8dMMGQKwJ8NFa4rjqalSLenyYrc= X-Received: by 2002:a05:651c:1048:b0:276:ffd3:aec5 with SMTP id x8-20020a05651c104800b00276ffd3aec5mr2699478ljm.520.1668329890287; Sun, 13 Nov 2022 00:58:10 -0800 (PST) In-Reply-To: <87h6z4303z.fsf@yahoo.com> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247756 Archived-At: --0000000000007a940405ed565297 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D1=81=D0=B1, 12 =D0=BD=D0=BE=D1=8F=D0=B1. 2022 =D0=B3. =D0=B2 14:04, Po Lu= : > Evgeny Zajcev writes: > > > Adding this code fixes the problem! However, if I specify `png' image > > type instead of `svg' when svg image is in use, no error is triggered > > in contrast with Emacs without native images. > > I don't know how to fix that with the Mac OS image API? Anyone else know= ? > > > If this code does not break anything on older MacOS I think it should > > be added to Emacs. > > +1. > This code won't break anything, because native SVG support has been added only in Ventura. It is safe to merge this change. Also, this patch fixes breakage of `:base_uri` API in Vertura, because native SVG does not support `:base_uri` API, only librsvg does. --=20 lg --0000000000007a940405ed565297 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
=D1=81=D0=B1, 12 =D0=BD=D0=BE=D1=8F= =D0=B1. 2022 =D0=B3. =D0=B2 14:04, Po Lu <luangruo@yahoo.com>:
Evgeny Zajcev <lg.zevlg@gmail.com> writes:

> Adding this code fixes the problem!=C2=A0 However, if I specify `png&#= 39; image
> type instead of `svg' when svg image is in use, no error is trigge= red
> in contrast with Emacs without native images.

I don't know how to fix that with the Mac OS image API?=C2=A0 Anyone el= se know?

> If this code does not break anything on older MacOS I think it should<= br> > be added to Emacs.

+1.

This code won't break anything,= because native SVG support has been added only in Ventura.=C2=A0 It is saf= e to merge this change.
Also, this patch fixes breakage of `:base= _uri` API in Vertura, because native SVG does not support `:base_uri` API, = only librsvg does.

--
lg
--0000000000007a940405ed565297--