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.
- relates to
-
BSERV-13353 Please don't use Courier font for code
- Gathering Interest