• We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Currently our CSS specifies just 'monospace', which uses the browser's default monospace font. This usually isn't the nicest-looking monospace font available on the platform.

      We should add some styles which use the monospace fonts used by the OS on each platform:

      • On Windows, Consolas
      • On Mac OS X, Monaco.

      (Any recommendations on an appropriate Linux monospace font would be great! )

      The font size needs to be specified in px (rather than the current points) because in my testing these fonts appear to vary considerably in size when the same point size is specified. Pixels don't have the same problem.

            [CONFSERVER-19720] Better monospace font for wiki textarea

            Steve, do you know which font it is you're seeing? You should be able to check your system to see whether Monaco, Consolas or Courier New are installed. If none is available on your system, you'll get the default monospace font for your system, which is customisable in the Firefox preferences under 'Content', 'Fonts & Colours'.

            Matt Ryall added a comment - Steve, do you know which font it is you're seeing? You should be able to check your system to see whether Monaco, Consolas or Courier New are installed. If none is available on your system, you'll get the default monospace font for your system, which is customisable in the Firefox preferences under 'Content', 'Fonts & Colours'.

            Can I note that this produces content that is unusable in FireFox on Linux. The issue would be better named "Better monospace font for wiki textarea except on Linux where it will be worse"

            Steve Loughran added a comment - Can I note that this produces content that is unusable in FireFox on Linux. The issue would be better named "Better monospace font for wiki textarea except on Linux where it will be worse"

            BenA added a comment -

            If we want to avoid the default/fallback, we have to put another font into the stack otherwise we're not fixing the issue for the majority of users (XP's still running at over 50% share http://gs.statcounter.com/#os-ww-monthly-200904-201005). Even if we specify the same font that happens to be there it's still better to do it intentionally. Given your hatred for Courier I guess it has to be Lucida Console...

            BenA added a comment - If we want to avoid the default/fallback, we have to put another font into the stack otherwise we're not fixing the issue for the majority of users (XP's still running at over 50% share http://gs.statcounter.com/#os-ww-monthly-200904-201005 ). Even if we specify the same font that happens to be there it's still better to do it intentionally. Given your hatred for Courier I guess it has to be Lucida Console...

            Matt Ryall added a comment -

            Courier/Courier New is the default monospace font used by IE and Firefox, and the one I'm trying to avoid by specifying the newer fonts in Vista/W7 and OS X. What would be the benefit of adding it to the stack, other than explicitly choosing an ugly font?

            Matt Ryall added a comment - Courier/Courier New is the default monospace font used by IE and Firefox, and the one I'm trying to avoid by specifying the newer fonts in Vista/W7 and OS X. What would be the benefit of adding it to the stack, other than explicitly choosing an ugly font?

            BenA added a comment -

            Since Consolas isn't available by default in XP I think we should add Courier New to the font stack, just to be thorough.

            BenA added a comment - Since Consolas isn't available by default in XP I think we should add Courier New to the font stack, just to be thorough.

              matt@atlassian.com Matt Ryall
              matt@atlassian.com Matt Ryall
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: