unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Alan Third <alan@idiocy.org>
Cc: tpiotrowski@is.umk.pl, 37159@debbugs.gnu.org
Subject: bug#37159: 26.1; svg images in eww
Date: Sat, 14 Sep 2019 14:05:57 +0200	[thread overview]
Message-ID: <87v9tv84m2.fsf@gnus.org> (raw)
In-Reply-To: <20190914085951.GA37515@breton.holly.idiocy.org> (Alan Third's message of "Sat, 14 Sep 2019 09:59:51 +0100")

Alan Third <alan@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





  reply	other threads:[~2019-09-14 12:05 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-23 12:55 bug#37159: 26.1; svg images in eww Tomasz Piotrowski
2019-08-23 17:29 ` Lars Ingebrigtsen
2019-08-24  7:56   ` Tomasz Piotrowski
2019-08-25  5:49     ` Lars Ingebrigtsen
2019-08-25  6:21       ` Tomasz Piotrowski
2019-08-25  7:35         ` Eli Zaretskii
2019-08-25  8:10           ` Tomasz Piotrowski
2019-08-25  8:20             ` Eli Zaretskii
2019-08-25 10:12               ` Tomasz Piotrowski
2019-08-25 10:15                 ` Tomasz Piotrowski
2019-08-26  4:56               ` Lars Ingebrigtsen
2019-08-26  5:33                 ` Tomasz Piotrowski
2019-08-26  6:25                   ` Tomasz Piotrowski
2019-08-26  7:48                 ` Eli Zaretskii
2019-08-26  7:50                   ` Lars Ingebrigtsen
2019-08-26  8:02                     ` Eli Zaretskii
2019-08-27  6:59                       ` Lars Ingebrigtsen
2019-08-27  7:47                         ` Eli Zaretskii
2019-08-27  8:01                           ` Tomasz Piotrowski
2019-09-04 15:04                             ` Tomasz Piotrowski
2019-09-09 15:20                               ` Tomasz Piotrowski
2019-09-14  8:59                         ` Alan Third
2019-09-14 12:05                           ` Lars Ingebrigtsen [this message]
2019-09-14 14:49                             ` Lars Ingebrigtsen
2019-09-14 15:51                               ` Eli Zaretskii
2019-09-14 15:54                               ` Alan Third
2019-09-15 12:17                                 ` Lars Ingebrigtsen
2019-09-16  8:44                                   ` Tomasz Piotrowski
2019-09-16 12:27                                     ` Lars Ingebrigtsen
2019-09-16 14:29                                       ` Tomasz Piotrowski
2019-09-16 18:34                                         ` Lars Ingebrigtsen
2019-09-18  7:18                                           ` Tomasz Piotrowski
2019-09-18 13:43                                             ` Lars Ingebrigtsen
2019-09-19  8:20                                               ` Tomasz Piotrowski
2019-09-19 11:02                                                 ` Alan Third
2019-09-19 13:59                                                   ` Lars Ingebrigtsen
2019-09-20 18:56                                                     ` Alan Third
2019-09-20 19:09                                                       ` Tomasz Piotrowski
2019-09-20 19:18                                                         ` Lars Ingebrigtsen
2019-09-20 19:22                                                           ` Tomasz Piotrowski
2019-09-20 19:26                                                             ` Eli Zaretskii
2019-09-20 20:48                                                               ` Tomasz Piotrowski
2019-09-21  6:28                                                                 ` Eli Zaretskii
2019-09-21 17:32                                                                   ` Tomasz Piotrowski
2019-09-20 20:56                                                             ` Lars Ingebrigtsen
2019-08-26  4:54         ` Lars Ingebrigtsen
2019-08-26  7:46           ` Eli Zaretskii
2019-08-26  7:49             ` Tomasz Piotrowski
2019-08-25 22:34 ` Jordan Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v9tv84m2.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=37159@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=tpiotrowski@is.umk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).