From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59075: 29.0.50; Image transforms not applied to svg images Date: Mon, 07 Nov 2022 20:21:55 +0800 Message-ID: <87bkpj7y58.fsf@yahoo.com> References: <83o7tk1h3m.fsf@gnu.org> <83leoo1cv9.fsf@gnu.org> <87o7tk5j8h.fsf@gmx.net> <877d0858oz.fsf@gmx.net> <87v8nr8v9g.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15550"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59075@debbugs.gnu.org, Eli Zaretskii , Stephen Berman To: Evgeny Zajcev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 07 13:23: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 1os19u-0003pT-G1 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Nov 2022 13:23:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1os19h-0001iu-Bh; Mon, 07 Nov 2022 07:23:09 -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 1os19a-0001a8-Rz for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2022 07:23:05 -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 1os19a-0006yG-CE for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2022 07:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1os19Z-0006qw-Sy for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2022 07:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Nov 2022 12:23:01 +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.166782373526274 (code B ref 59075); Mon, 07 Nov 2022 12:23:01 +0000 Original-Received: (at 59075) by debbugs.gnu.org; 7 Nov 2022 12:22:15 +0000 Original-Received: from localhost ([127.0.0.1]:33546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os18m-0006pe-BO for submit@debbugs.gnu.org; Mon, 07 Nov 2022 07:22:15 -0500 Original-Received: from sonic315-20.consmr.mail.ne1.yahoo.com ([66.163.190.146]:45938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os18k-0006pS-T8 for 59075@debbugs.gnu.org; Mon, 07 Nov 2022 07:22:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1667823725; bh=86zVtFZ5fYPRUge5s89jUTqV883ti0g9XDvzsoKKpIQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=FqbC48/RbBI2APtLFx2JaOYG5qLFwo6eGOGGMRtlMfTdw3B3bxZqh9mElNqoRsa5GP/74HxKBgNzP3iWHf38vDS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TwsO9MGRWiRZhdY3b1eZnAcHZP.2cNJeJVyp8ER.UDD.m7Ay7zBpF1VJS_m4gW aNvonG88XhuBmL_0i.eLV7qMvSpfDh_PmdklVscMv2_ahMtq2tRK1427S3tEiXn3nds2TiyRfYRy 4TsMoipN3nOWgy9_PkiEZ1V57gagTrxBmDVICZ.l2aopShh_nsUe5U1p86ZTBNEtQqPgFUs.4gMA gpUHMAP57Nkjf4IJdteqp3Yuz1xnedFAVd7eZHXulFvgfNRN7fdrwEyxrx164EyeIebrqoKtrjhY Mj.4ay4ZNzOzbaczlatcnETIp0gM.74sYznyyS3qwYOF0Hx.qMXIT4Wsh4Uf8cMu0hihYD5eW.Lr YV9ci3OSmpokBPNe1GDLS5iJ.oWE.b4ywNGVwTbYy3silC8F0fj9Xc9wUSLQQz0yHk4VMiIUE88S aGsQ3MhmQd.YTJDohKMrtmcu4mtQoW0PkMQuGS3vitYzuYvePQ_xNSplsuVK4y1ZtDZsrw9DAb14 Kughk.AtHmjMYHpYXkdhswcnjtqWBQn6Jhrs4SYtaS X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Mon, 7 Nov 2022 12:22:05 +0000 Original-Received: by hermes--production-sg3-6c8895b545-mvhb5 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 84410d8a09e329820f557241480b567a; Mon, 07 Nov 2022 12:22:00 +0000 (UTC) In-Reply-To: (Evgeny Zajcev's message of "Mon, 7 Nov 2022 13:26:00 +0300") X-Mailer: WebService/1.1.20826 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:247278 Archived-At: Evgeny Zajcev writes: > =D0=BF=D0=BD, 7 =D0=BD=D0=BE=D1=8F=D0=B1. 2022 =D0=B3. =D0=B2 03:26, Po L= u : > > My suspicion is that librsvg is not being used to display SVGs at all, > on Mac OS 13. What happens if you build without native image APIs? > > Works perfectly without native image API! Resulting svg image gets > correct size after applying `:height', and if I change image type to > png, image is not displayed at all as expected. I can't see why ns_image_set_transform was not called in your case, and I don't know how to investigate this problem further on Mac OS. To the Mac experts out there: is there any reason an SVG image loaded by [NSImage initByReferencingFile:] would not respect the transform set with [NSAffineTransform concat]?