projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
756373a
)
Fix bug#59075
author
Po Lu
<luangruo@yahoo.com>
Sun, 13 Nov 2022 09:30:37 +0000
(17:30 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 13 Nov 2022 09:30:49 +0000
(17:30 +0800)
* 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
patch
|
blob
|
history
diff --git
a/src/nsimage.m
b/src/nsimage.m
index 9cb5090dd0da7a50d97ed6667de99b099848f1aa..dd8768664a45b8a884990589d6a96f742eaebbed 100644
(file)
--- 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";