7 Star 17 Fork 5

Gitee 极速下载 / JetBrainsMono

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/JetBrains/JetBrainsMono
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
OFL-1.1

official JetBrains project

JetBrains Mono: a typeface made for developers

Alt text

JetBrains Mono is available as a standalone download, and is also bundled in all JetBrains IDEs. Discover more font features & design on its web page.

Default version of JetBrains Mono comes with OpenType features and ligatures (which can always be toggled on & off in the settings). If your IDE doesn’t support OpenType, use a special version of the font — JetBrains Mono NL, which doesn’t include any ligatures.

Installation

JetBrains IDEs

The most recent version of JetBrains Mono ships with your JetBrains IDE starting with v2019.3.

Select JetBrains Mono in the IDE settings: go to Preferences/SettingsEditorFont, and then select JetBrains Mono from the Font dropdown.

Brew (macOS only)

  1. Tap the font cask to make the Jetbrains Mono font available:

    brew tap homebrew/cask-fonts
  2. Install it using the font-jetbrains-mono cask:

    brew install --cask font-jetbrains-mono

Manual installation

On Mac/Windows:

  1. Download font.
  2. Unzip the archive and install the font:
    • Mac. Select all font files in the folder and double-click them. Click the Install Font button.
    • Windows. Select all font files in the folder, right-click any of them, then pick Install from the menu.

Note If you have previously installed JetBrains Mono, please uninstall all previous versions to exclude conflicts and errors in rendering.

On Linux:

Open a terminal and run the following:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/install_manual.sh)"

Once JetBrains Mono is installed in your OS, you are ready to configure the editor.

Visual Studio Code

  1. From the File menu (Code on Mac) go to PreferencesSettings, or use keyboard shortcut Ctrl+, (Cmd+, on Mac).
  2. In the Editor: Font Family input box type JetBrains Mono, replacing any content.
  3. To enable ligatures, go to Editor: Font Ligatures, click Edit in settings.json, and copy this line "editor.fontLigatures": true into json file.

More ways to install

Font Styles

There are 8 font styles available in JetBrains Mono, from Thin to ExtraBold, each coming with its own italic version.

Alt text

Font Features

Increased x-height

While characters remain standard in width, the height of the lowercase is maximized. This approach keeps code lines to the length that developers expect, and it helps improve rendering in small size, since each symbol occupies more pixels.

Alt text

Distinctiveness of symbols

Alt text

Ligatures for Code

A ligature is a character consisting of two or more joined symbols. Traditionally, it was introduced as a space-saving technique in printed texts. In code, this technique is adopted to show operators and is used mainly for two purposes:

  1. To reduce noise by merging symbols and removing details so the eyes are processing less:

Alt text

  1. To balance whitespace more efficiently by shifting the glyphs in certain cases:

Alt text

Note if your IDE doesn’t support OpenType features and ligatures, use JetBrains Mono NL instead.

OpenType features

Starting from v2.304, JetBrains Mono has added support for alternate characters. Stylistic Sets ss01-20 usually change a group of characters. Character Variant cv01-99 usually changes only one character. Here are the instructions for enabling these features.

Alt text Alt text

Basic Character Set

Alt text You can find full JetBrains Mono character set on our wiki page.

Building from source files

Note To build from source, you'd need Python 3.9.5 or higher (install instructions for Python available here).

The source files can be found in the "Source" folder. To open them you will need Glyphs app.
To build the .ttf, .otf, woff2 & variable .ttf you will need to:

  • Install gftools pip install gftools
  • Install fonttools[woff] pip install fonttools[woff]
  • Navigate to JetBrainsMono folder in Terminal app.
  • Type gftools builder sources/config.yaml in Terminal and run it.
  • Type python scripts/generate_variable_webfonts.py in Terminal and run it to generate variable woff2 files.
  • After the scripts are complete, the files can be found in fonts folder.

License

JetBrains Mono typeface is available under the OFL-1.1 License and can be used free of charge, for both commercial and non-commercial purposes. You do not need to give credit to JetBrains, although we will appreciate it very much if you do.

The source code is available under Apache 2.0 License

Credits

Type designer
Philipp Nurullin

Team lead
Konstantin Bulenkov

Thanks to
Nikita Prokopov
Eugene Auduchinok
Tatiana Tulupenko
Dmitrij Batrak
IntelliJ Platform UX Team
Web Team

Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: https://scripts.sil.org/OFL ----------------------------------------------------------- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ----------------------------------------------------------- PREAMBLE The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. DEFINITIONS "Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. "Reserved Font Name" refers to any names specified as such after the copyright statement(s). "Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s). "Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. "Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. PERMISSION & CONDITIONS Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: 1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. 2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. 3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. 5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. TERMINATION This license becomes null and void if any of the above conditions are not met. DISCLAIMER THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

简介

JetBrains Mono 是 JetBrains 公司专为开发者打造的免费开源编程字体,希望借此提升他们在查阅代码时的体验 展开 收起
Shell 等 3 种语言
OFL-1.1
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/mirrors/JetBrainsMono.git
git@gitee.com:mirrors/JetBrainsMono.git
mirrors
JetBrainsMono
JetBrainsMono
master

搜索帮助