[systemd-bugs] [Bug 70720] systemd-analyze: SVG output is hard to read (transparent background)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 21 14:13:08 CEST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=70720

--- Comment #2 from Thomas H.P. Andersen <phomes at gmail.com> ---
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");

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20131021/79f660fe/attachment.html>


More information about the systemd-bugs mailing list