]> gitweb.michael.orlitzky.com - libsvgtiny-pixbuf.git/commit
io-svg.c: first attempt at handling content after an XInclude
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 7 Aug 2023 02:36:47 +0000 (22:36 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 7 Aug 2023 02:36:47 +0000 (22:36 -0400)
commit3ffb1b9f69526aada2b9dfe6ef19d74212cb89d4
treec62b544f985bd7f3f58f285203f4a133bef0c215
parente418d0f1bce2f149c176bd21a7225034e68a927e
io-svg.c: first attempt at handling content after an XInclude

It turns out that gtk3 (but not gtk4) will sometimes wrap its
<xi:include> tag with a <g> tag that specifies some opacity; see
gtk/gtkicontheme.c in the gtk+-3.0 sources. Currently we are keeping
everything before the <xi:include> tag and dropping everything after
it, which results in mismatched tags because we keep the <g> and then
chop off the </g>. I've hacked something together that looks like it
works but it needs a post-sleep reread.
io-svg.c