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)
This commit is contained in:
Po Lu 2022-11-13 17:30:37 +08:00
parent 756373a772
commit 7a9beac461

View file

@ -74,8 +74,10 @@ Updated by Christian Limpach (chris@nice.ch)
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";