Files
FlatLaf/flatlaf-fonts/flatlaf-fonts-jetbrains-mono
Karl Tauber b515e8be04 Fonts: fixed GitHub Actions:
- ci.yml: skip fonts in snapshot and release jobs
- fonts.yml: build on all branches/PRs; publish snapshots
- fixed version for font snapshots
2022-11-19 10:48:07 +01:00
..
2022-11-19 10:48:07 +01:00

JetBrains Mono font

This sub-project contains fonts from the JetBrains Mono font family and bundles them into an easy-to-use and redistributable JAR.

Font home page: https://www.jetbrains.com/mono

GitHub project: https://github.com/JetBrains/JetBrainsMono

License: SIL OPEN FONT LICENSE Version 1.1

How to install?

Invoke the install() method once (e.g. in your main() method; on AWT thread):

FlatJetBrainsMonoFont.install();

How to use?

Use as default monospaced font:

FlatLaf.setPreferredMonospacedFontFamily( FlatJetBrainsMonoFont.FAMILY );

Create fonts:

// basic styles
new Font( FlatJetBrainsMonoFont.FAMILY, Font.PLAIN, 12 );
new Font( FlatJetBrainsMonoFont.FAMILY, Font.ITALIC, 12 );
new Font( FlatJetBrainsMonoFont.FAMILY, Font.BOLD, 12 );
new Font( FlatJetBrainsMonoFont.FAMILY, Font.BOLD | Font.ITALIC, 12 );

Download

Not yet available.