emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7a9beac461: Fix bug#59075


From: Po Lu
Subject: master 7a9beac461: Fix bug#59075
Date: Sun, 13 Nov 2022 04:31:09 -0500 (EST)

branch: master
commit 7a9beac46142eb70061c45ef222d72f84b7b18ab
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix bug#59075
    
    * src/nsimage.m (ns_can_use_native_image_api): Do not use native
    image APIs for SVG images when RSVG is present.  (bug#59075)
---
 src/nsimage.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/nsimage.m b/src/nsimage.m
index 9cb5090dd0..dd8768664a 100644
--- a/src/nsimage.m
+++ b/src/nsimage.m
@@ -74,8 +74,10 @@ ns_can_use_native_image_api (Lisp_Object type)
     imageType = @"com.compuserve.gif";
   else if (EQ (type, Qtiff))
     imageType = @"public.tiff";
+#ifndef HAVE_RSVG
   else if (EQ (type, Qsvg))
     imageType = @"public.svg-image";
+#endif
   else if (EQ (type, Qheic))
     imageType = @"public.heic";
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]