Inconsistent font for code view

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: AUI, UI
    • None
    • 1

      Current behaviour

      The font-family for code view is monospace without any default. Hence, when a different language is being used, the code view font will vary based on the default monospace font for that language. The behaviour also differs based on the OS type and browser type.

      For example, when the Google Chrome language on Windows is set:

      • English, the font is Consolas.
      • Chinese, the font is NSimSun.
      • Japanese, the font is MS Gothic.

      Suggested behaviour

      Ship Bitbucket Data Center with default font and fallback font for monospace:

      font-family: "Fira Mono", "DejaVu Sans Mono", "Menlo", "Consolas", "Liberation Mono", "Monaco", "Lucida Console", monospace;
      

      The font list is taken from font-family.

            Assignee:
            Unassigned
            Reporter:
            Moga
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: