Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19846

Inconsistent font for code view

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • AUI, UI
    • None
    • 1
    • We collect Bitbucket 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.

      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.

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

                Created:
                Updated: