]> git.eshelyaron.com Git - emacs.git/commit
Fix problem with images referenced within svg files. (bug#19373)
authorUlf Jasper <ulf.jasper@web.de>
Wed, 17 Dec 2014 19:50:12 +0000 (20:50 +0100)
committerUlf Jasper <ulf.jasper@web.de>
Wed, 17 Dec 2014 19:50:12 +0000 (20:50 +0100)
commit197a9e0c9e0c73ea5e76c10980e6265dd99439d9
tree3e2a399ef74884c79d47e1f3a3efb6bedb2fc382
parent72ef8d7639ba08da81af661f42b8f592d736ce94
Fix problem with images referenced within svg files. (bug#19373)

Fixes: debbugs:19373
* src/image.c: Additional parameter 'filename' for
svg_load_image. Include "buffer.h".  Define library function
rsvg_handle_set_base_uri for WINDOWSNT.
(init_svg_functions): Initialize rsvg_handle_set_base_uri.
(fn_rsvg_handle_set_base_uri): Define fn_rsvg_handle_set_base_uri.
(svg_load): Pass a filename to svg_load_image: either name of
actual file or of current buffer's file.
(svg_load_image): New parameter 'filename', used for setting
base_uri, necessary for loading referenced images.
src/ChangeLog
src/image.c