]> git.eshelyaron.com Git - emacs.git/commit
Prefer rsvg_handle_get_intrinsic_size_in_pixels
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Dec 2021 17:47:22 +0000 (09:47 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 3 Dec 2021 18:25:09 +0000 (10:25 -0800)
commit5586eb463fb3c11298f6e1a0b4fd1e86b9a1dd65
tree8532478f2c68d99b8e21bfe15cbc3727e3311e59
parentbcb4651c412dc8b37f1e9978681a958b7e919277
Prefer rsvg_handle_get_intrinsic_size_in_pixels

Use rsvg_handle_get_intrinsic_size_in_pixels if available,
as this is simpler and better than what we were doing.
From a comment by by Alan Third (Bug#44655#56).
* src/image.c (init_svg_functions): Arrange for the new function.
(svg_load_image): Prefer the results of
rsvg_handle_get_intrinsic_size_in_pixels if available.
src/image.c