]> git.eshelyaron.com Git - emacs.git/commit
Set basic SVG attributes (bug#40845)
authorAlan Third <alan@idiocy.org>
Sun, 23 Aug 2020 15:28:17 +0000 (16:28 +0100)
committerAlan Third <alan@idiocy.org>
Sun, 23 Aug 2020 15:28:17 +0000 (16:28 +0100)
commit8f42b94fe43911c6b0c7e519ba439d61459dc744
tree4786e52acf27cf3a5262d8b283f1ed8ac1b073e6
parent4aff89ece6d9ceee882375879518b71ca6a89a70
Set basic SVG attributes (bug#40845)

* test/manual/image-transforms-tests.el: Replace hard-coded colors
with defaults.
* src/dispextern.h (struct image):
* src/image.c (search_image_cache):
(xbm_load_image):
(xbm_load):
(pbm_load): Rename from frame to face where relevant.
(svg_load_image): Parse the image to find out the size, then wrap it
in another SVG to set a new size and colors, etc.
(lookup_image): Use the face colors instead of the frame colors.
(search_image_cache): Add ability to ignore the face colors.
(uncache_image): Uncache all copies of the image that share the spec,
even if the face colors don't match.
* etc/NEWS: Describe the changes.
etc/NEWS
lisp/net/shr.el
src/dispextern.h
src/gtkutil.c
src/image.c
src/nsmenu.m
src/xdisp.c
test/manual/image-transforms-tests.el