Huge font in SVG Traffic Graph on Linux/Firefox.
-
in Firefox 2 on linux, svg traffic graph fonts look extra large…see attached screenshot
-
in Firefox 2 on linux, svg traffic graph fonts look extra large…see attached screenshot
Yeah, it seems that it only works in Windows or with Adobe's SVG plugin. m0n0wall does the same thing. It was fixed at one point, but then it reverted back to it's normal broken version. I read somewhere that it was because they are not specifying the font size or something. Anyway, I wish they would fix it because it's broken on the Mac too.
-
@pk:
in Firefox 2 on linux, svg traffic graph fonts look extra large…see attached screenshot
Yeah, it seems that it only works in Windows or with Adobe's SVG plugin. m0n0wall does the same thing. It was fixed at one point, but then it reverted back to it's normal broken version. I read somewhere that it was because they are not specifying the font size or something. Anyway, I wish they would fix it because it's broken on the Mac too.
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 not broken on the Mac. Just tested with FF 2.0. 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.
If specifying the font size in the SVG source to fix the issue, I would appreciate such a change.
Cheers
Daniel S. Haischt -
Yepp, the font also looks large on my FreeBSD workstation. It looks fine in Windows though. Changing the internal width/height of the SVG from 200x100 to 550x275 fixes the problem (well, almost… I still need to align them) on FreeBSD, but it looks very small in Windows. Perhaps we need to detect if the user is using xorg/X11 and change the SVG size accordingly? :)
[ simon.cpu ]
-
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.