GNU bug report logs -
#37159
26.1; svg images in eww
Previous Next
Reported by: Tomasz Piotrowski <tpiotrowski <at> is.umk.pl>
Date: Fri, 23 Aug 2019 14:17:01 UTC
Severity: minor
Tags: fixed
Found in version 26.1
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #83 received at 37159 <at> debbugs.gnu.org (full text, mbox):
Alan Third <alan <at> idiocy.org> writes:
> I don’t know if the way GTK works would be helpful:
>
> https://gitlab.gnome.org/GNOME/gtk/issues/1471
>
> I guess you can just set some default CSS in the wrapper and if the
> SVG overrides it then it doesn’t matter.
Which is:
<svg ...>
<style>
... extra styling here ...
</style>
<xi:include href="... original SVG encoded as a data: URL ..."/>
</svg>
That's an interesting approach. As you say, it would probably solve
these problems, and my guess is that all the SVG libraries we support
would probably handle this construction fine. The styling properties we
could inject here could be, for instance, a stroke colour that the same
as the foreground colour of the default face, and a background colour
that's the same as the background colour of the current buffer.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 281 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.