From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#55322: 28.1; :base-uri not working for svg images on mac Date: Mon, 9 May 2022 22:42:00 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23485"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55322@debbugs.gnu.org To: Howard Melman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 09 23:43:12 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 1noB9r-0005s2-JL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 23:43:11 +0200 Original-Received: from localhost ([::1]:53924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noB9q-00014R-Hm for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 17:43:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noB9i-00012S-Rs for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 17:43:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noB9i-00034p-J0 for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 17:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1noB9i-0000u6-HJ for bug-gnu-emacs@gnu.org; Mon, 09 May 2022 17:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 May 2022 21:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55322 X-GNU-PR-Package: emacs Original-Received: via spool by 55322-submit@debbugs.gnu.org id=B55322.16521325333384 (code B ref 55322); Mon, 09 May 2022 21:43:02 +0000 Original-Received: (at 55322) by debbugs.gnu.org; 9 May 2022 21:42:13 +0000 Original-Received: from localhost ([127.0.0.1]:59623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noB8u-0000sW-Le for submit@debbugs.gnu.org; Mon, 09 May 2022 17:42:12 -0400 Original-Received: from outbound.soverin.net ([116.202.126.228]:53809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noB8s-0000sE-Cv for 55322@debbugs.gnu.org; Mon, 09 May 2022 17:42:11 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id B7ECD823; Mon, 9 May 2022 21:42:03 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1652132523; bh=Pf4dQ0XYIEk3gwg3DkEA7P+I/lhqtBKDGh7MyHsY0EM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a9md7mEJtstWdTBNfEGj/XMcp6ZfA6+nayfXdcjtSBPKTyXvdO6NRPGpU4pSjaK9i n4RK4GfVmyA/tuexPk1RrnoSswcP1S8f30emacvtNDfEiVklx0c8b6jsvkMT9g9Hs6 R4rpoNh1ZPbWHUD9JvPDuxzafQ9AmKaNb8U1cXujX3vMQC8fLyfddUsjEokZBrD4yo I1ENPFvLbfvffEuEFWmOBafsyEbPH6vhNvX7MkMltOuJ2ZuuRUmgA/GN83MFVirGtR 5lqGxicdXAB4cpWExAcpSLqcF+jlAvGrPhN5XqWu2Tmzsx5z0ZmkDFDRjkUUhNgxtE 6rT8lW0wJ6J3w== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95) (envelope-from ) id 1noB8i-000lbA-Km; Mon, 09 May 2022 22:42:00 +0100 Mail-Followup-To: Alan Third , Howard Melman , 55322@debbugs.gnu.org Content-Disposition: inline In-Reply-To: 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:231786 Archived-At: On Sun, May 08, 2022 at 03:16:02PM -0400, Howard Melman wrote: > 6 7 (display (image :width 256 :height 256 :type svg :base-uri "/Users/hmelman/.emacs.d/var/osm/default/9-255-170.png" :data " xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'> > > > > " The above image should be able to be replicated with something like this below: (insert-image (create-image " " 'svg t :width 256 :height 256 :base-uri "/Users/hmelman/.emacs.d/var/osm/default/9-255-170.png")) Try messing with the base-uri, perhaps try setting it to the directory, or to foo.svg or something. My first guess would be that if it's working on GNU/Linux but not macOS is that there might be a difference in the version of librsvg. The way Emacs handles SVG files on both is pretty much identical afaik, so any difference is likely to be down to librsvg. -- Alan Third