]> git.eshelyaron.com Git - emacs.git/commit
Fix percentage sizes in SVG display (bug#64908)
authorAlan Third <alan@idiocy.org>
Sat, 5 Aug 2023 09:39:31 +0000 (10:39 +0100)
committerAlan Third <alan@idiocy.org>
Tue, 8 Aug 2023 21:14:45 +0000 (22:14 +0100)
commit66a3bb36f940d2f2a712d20aadaeda20b8792cff
tree7f7edc21d301e28aa65c8a0e0ff13dd935b3b557
parent72e24ed0316542184f40c05eda2bf7c77808ec0c
Fix percentage sizes in SVG display (bug#64908)

* src/image.c (svg_css_length_to_pixels): Make percent units always
return zero and handle font size based units better.
(svg_load_image): Don't rely on the width and height values from the
SVG actually having any useful data, even if they're explicitly set.
src/image.c