|
Hi! Just tried to use SVG graphs with rrdtool for the first time and it "somewhat" worked. The problem is that the text itself does not get shown (or at least only a tiny bit at the bottom of letters like "g", "p" or "[", "/", "]" shows) ![]() (screenshot of the graph in firefox) The only thing that is surprisingly readable is the "RRDTOOL/TOBI OETIKER" to the top right The corresponding PNG graph with the same arguments works fine. The one thing that I found is that it is not using <text>...</text> constructs but seems to process each of the letters separately - and that from a predefined symbol: ... <symbol id="glyph4-14"> <path style="stroke: none;" d="M 3.921875 -7.53125 L 3.921875 -6 L 6 -6 L 6 -5.1875 L 3.921875 -5.1875 L 3.921875 -1.953125 C 3.921875 -1.515625 4 -1.208328 4.15625 -1.03125 C 4.3125 -0.854156 4.583328 -0.765625 4.96875 -0.765625 L 6 -0.765625 L 6 0 L 4.84375 0 C 4.125 0 3.619781 -0.140625 3.328125 -0.421875 C 3.036453 -0.713531 2.890625 -1.223953 2.890625 -1.953125 L 2.890625 -5.1875 L 1 -5.1875 L 1 -6 L 2.890625 -6 L 2.890625 -7.53125 L 3.921875 -7.53125 Z M 3.921875 -7.53125 "/> </symbol> ... <g style="fill: rgb(0%,0%,0%); opacity: 1;"> <use xlink:href="#glyph4-14" x="-1" y="303"/> <use xlink:href="#glyph4-3" x="6" y="303"/> ...To me it looks as if there is a bounding box problem (moving the letters around in firefox+firebug shows that it has to be something with those "paths"...) Any Idea how i can fix that? (preferably without having to go thru the time-consuming hassle of upgrading all the OS provided libraries manually...) Thanks, Martin P.s: adding the option --font "TITLE:120:Courier" increases the size title of the graph and it is a bit "easier" to identify the letters like p and g from the "lower" parts (whatever they are called typographically). |
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

