On 04/08/2023 23:08, David Ponce wrote: > On 04/08/2023 21:08, Eli Zaretskii wrote: >>> Date: Fri, 4 Aug 2023 19:32:13 +0100 >>> From: Alan Third >>> Cc: David Ponce , 64908@debbugs.gnu.org >>> >>> On Fri, Aug 04, 2023 at 01:26:45PM +0300, Eli Zaretskii wrote: >>>> >>>> Thanks.  I hope this will help an SVG expert to figure out what's >>>> going on with these images. >>>> >>>> Alan, do you have time to look into this, per chance? >>> >>> Yeah. I know roughly what needs to be done here thanks to David's most >>> recent email, but I'll have a wee think about how best to do it since >>> we already have, I think, three different methods of finding the image >>> size depending on the version of librsvg. If I can merge a couple of >>> those approaches it will probably be best. >> >> Thanks in advance. > > Eli, Alan, > > Until Alan finds the best solution, the attached simple patch fixed > the issue for me with librsvg 2.56.3. > > Thanks & Regards Hello, I attached a better patch, because it is possible to have svg image definition that combines viewBox, and percentage of width/height, like in this example: (insert-image '(image :type svg :data " " :scale 1)) I hope Alan will find a simpler implementation for all these cases! Thanks & Regards