diff options
author | Alan Third <alan@idiocy.org> | 2021-03-28 17:52:57 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2021-04-03 23:07:01 +0100 |
commit | 1fdbeffe3a65cb23abb43a4ea59df9553c9246f9 (patch) | |
tree | e0bf007c9aa559aa184c05ee795e8abe6d787db7 /test/lisp/emacs-lisp/hierarchy-tests.el | |
parent | 40842f67afb2931de6789237a49570f99b70404f (diff) | |
download | emacs-1fdbeffe3a65cb23abb43a4ea59df9553c9246f9.tar.gz emacs-1fdbeffe3a65cb23abb43a4ea59df9553c9246f9.tar.bz2 emacs-1fdbeffe3a65cb23abb43a4ea59df9553c9246f9.zip |
Set CSS for SVG files
* src/dispextern.h (struct image): Add font details required for the CSS.
* src/image.c (free_image): Free the font family string.
(search_image_cache):
(uncache_image): Make image caching understand the font details.
(lookup_image): Handle the font details when generating the image and
looking up the cache.
(svg_css_length_to_pixels): Handle 'em' when we know the font size.
(svg_load_image): Generate the CSS and apply it to the SVG.
(enum svg_keyword_index):
(svg_format):
(syms_of_image): Add ':css' attribute.
* doc/lispref/display.texi (SVG Images): Add details of new svg image
attributes.
Diffstat (limited to 'test/lisp/emacs-lisp/hierarchy-tests.el')
0 files changed, 0 insertions, 0 deletions