mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-16 00:37:11 -06:00
Fonts: added Inter and JetBrains Mono
This commit is contained in:
51
flatlaf-fonts/flatlaf-fonts-jetbrains-mono/README.md
Normal file
51
flatlaf-fonts/flatlaf-fonts-jetbrains-mono/README.md
Normal file
@@ -0,0 +1,51 @@
|
||||
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](src/main/resources/com/formdev/flatlaf/fonts/jetbrains_mono/OFL.txt)
|
||||
|
||||
|
||||
How to install?
|
||||
---------------
|
||||
|
||||
Invoke the `install()` method once in your `main()` method (on AWT thread):
|
||||
|
||||
~~~java
|
||||
FlatJetBrainsMonoFont.install();
|
||||
~~~
|
||||
|
||||
|
||||
How to use?
|
||||
-----------
|
||||
|
||||
~~~java
|
||||
// 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
|
||||
--------
|
||||
|
||||
FlatLaf Fonts binaries are available on **Maven Central**.
|
||||
|
||||
If you use Maven or Gradle, add a dependency with following coordinates to your
|
||||
build script:
|
||||
|
||||
groupId: com.formdev
|
||||
artifactId: flatlaf-fonts-jetbrains-mono
|
||||
version: (see button below)
|
||||
|
||||
Otherwise download `flatlaf-fonts-jetbrains-mono-<version>.jar` here:
|
||||
|
||||
[](https://maven-badges.herokuapp.com/maven-central/com.formdev/flatlaf-fonts-jetbrains-mono)
|
||||
Reference in New Issue
Block a user