Huge font in SVG Traffic Graph on Linux/Firefox.
-
I bet you did manipulate the default font size of your browser. So it's not broken in general but rather only if the user is increasing/decreasing the browser's default font size.
hmm..i don't remember if i changed default sizes
i have
default font "Bitstream Vera Sans" size 16.
proportional font "Sans Serif" size 16.
monospace font "monospace" size 12.
minimum font size 11. -
Same here on plain Win XP, Firefox 2.0.0.1. Those fonts are rather big, but it's not THAT big issue. I personally prefer the ones on the rrd graphs page, though.
-
@ojay2001:
Same here on plain Win XP, Firefox 2.0.0.1. Those fonts are rather big, but it's not THAT big issue. I personally prefer the ones on the rrd graphs page, though.
Does it look like mxxcon's screenshot? =)
[ simon.cpu ]
-
LOL! Yes, it does. only different scaling as i'm luckyly on a 1GB Backbone :), but font sizes and stuff are the same.
-
If its broken on m0n0wall as well then please report it. Manuel knows the SVG author and can most likely get it fixed. I for one, don't know squat about SVG so I wouldn't even know where to begin diagnosing this.
It's been reported many times. Manuel knows about it.
-
Perhaps we need to detect if the user is using xorg/X11 and change the SVG size accordingly? :)
I am pretty much against browser/os specific code. We did that already back in 1995, where we coded per browser and per operating system HTML and JavaScript and its definitely not the way to go because of the huge overhead.
Cheers
Daniel S. Haischt -
Not only code overhead. It would make testing/developement a lot more complicated too as you need to have lot's of testsystems to ensure compatibility with all the systems/browsers/os'es.
-
Sorry but we are not putting in hacks due to X11. I don't have this problem on OSX or XP. So it sounds like a X11 specific issue. Not to mention I already said that I have no knowledge of how the SVG graph works so the last thing we need is to start diverging from the m0n0wall codebase in this instance.
-
It's not specific to X11. I get the problem using Firefox, Safari, Webkit on OS X. It has to do with the SVG graph code.
http://m0n0.ch/wall/list-dev/showmsg.php?id=11/92
http://m0n0.ch/wall/list-dev/showmsg.php?id=12/36I'm still waiting for the fix.
-
Firefox 1.5.0.9 on Linux shows the graphs fine.