<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd-analyze: SVG output is hard to read (transparent background)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70720#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd-analyze: SVG output is hard to read (transparent background)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70720">bug 70720</a>
from <span class="vcard"><a class="email" href="mailto:phomes@gmail.com" title="Thomas H.P. Andersen <phomes@gmail.com>"> <span class="fn">Thomas H.P. Andersen</span></a>
</span></b>
<pre>You can manually add a line to the svg in the <defs><style>:
"svg { background: rgb(255,255,255); }"
I can commit this fix later when I am at my laptop:
index c088cad..3303b55 100644
--- a/src/bootchart/svg.c
+++ b/src/bootchart/svg.c
@@ -122,6 +122,7 @@ static void svg_header(void) {
/* style sheet */
svg("<defs>\n <style type=\"text/css\">\n <![CDATA[\n");
+ svg(" svg { background: rgb(255,255,255); }\n");
svg(" rect { stroke-width: 1; }\n");
svg(" rect.cpu { fill: rgb(64,64,240); stroke-width: 0;
fill-opacity: 0.7; }\n");
svg(" rect.wait { fill: rgb(240,240,0); stroke-width: 0;
fill-opacity: 0.7; }\n");</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>