Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Huge font in SVG Traffic Graph on Linux/Firefox.

    webGUI
    8
    15
    8.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mxxcon
      last edited by

      @DanielSHaischt:

      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.

      [Sig removed by Administrator: Signature can not exceed 20GB]

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • S
          simoncpu
          last edited by

          @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 ]

          1 Reply Last reply Reply Quote 0
          • ?
            Guest
            last edited by

            LOL! Yes, it does. only different scaling as i'm luckyly on a 1GB Backbone :), but font sizes and stuff are the same.

            1 Reply Last reply Reply Quote 0
            • P
              pk
              last edited by

              @sullrich:

              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.

              1 Reply Last reply Reply Quote 0
              • D
                DanielSHaischt
                last edited by

                @simoncpu:

                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

                Mit freundlichen Gruessen / With kind regards
                DAn.I.El S. Haischt

                1 Reply Last reply Reply Quote 0
                • H
                  hoba
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • P
                      pk
                      last edited by

                      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/36

                      I'm still waiting for the fix.

                      1 Reply Last reply Reply Quote 0
                      • S
                        sai
                        last edited by

                        Firefox 1.5.0.9 on Linux shows the graphs fine.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.