]> git.eshelyaron.com Git - emacs.git/commit
Use real DPI when rendering SVGs (bug#45124)
authorAlan Third <alan@idiocy.org>
Wed, 9 Dec 2020 00:02:44 +0000 (00:02 +0000)
committerAlan Third <alan@idiocy.org>
Sat, 12 Dec 2020 10:30:56 +0000 (10:30 +0000)
commit03ac24f23971d8b5c85ec9383135eb7768226bb6
tree83979b3455dd3278208d2b19acf67c3edd7406af
parenta8e2143a5c03785742464406306fda7fce6caf04
Use real DPI when rendering SVGs (bug#45124)

* src/image.c (svg_css_length_to_pixels): Pass in a DPI value instead
of using a hard coded value.
(svg_load_image): Set the DPI on the rsvg_handle, and pass it to
svg_css_length_to_pixels.
src/image.c