Fonts: updated Inter to v4.0

This commit is contained in:
Karl Tauber
2024-01-24 15:45:43 +01:00
parent 722dde63df
commit ca3b2b4b07
13 changed files with 7 additions and 6 deletions

View File

@@ -8,6 +8,8 @@ FlatLaf Change Log
- Native libraries: System property `flatlaf.nativeLibraryPath` now supports - Native libraries: System property `flatlaf.nativeLibraryPath` now supports
loading native libraries named the same as on Maven central. Improved log loading native libraries named the same as on Maven central. Improved log
messages for loading fails. messages for loading fails.
- Fonts: Updated **Inter** to
[v4.0](https://github.com/rsms/inter/releases/tag/v4.0).
#### Fixed bugs #### Fixed bugs

View File

@@ -192,7 +192,8 @@ public class HiDPIUtils
case "Inter": case "Inter":
case "Inter Light": case "Inter Light":
case "Inter Semi Bold": case "Inter Semi Bold": // Inter v3
case "Inter SemiBold": // Inter v4
case "Roboto": case "Roboto":
case "Roboto Light": case "Roboto Light":
case "Roboto Medium": case "Roboto Medium":

View File

@@ -18,7 +18,7 @@
// For maven compatibility, <font-version> should be in format <major>.<minor>[.<micro>]. // For maven compatibility, <font-version> should be in format <major>.<minor>[.<micro>].
// <build-number> is optional and should be incremented only if a new release is // <build-number> is optional and should be incremented only if a new release is
// necessary, but the <font-version> has not changed. // necessary, but the <font-version> has not changed.
version = "3.19" version = "4.0"
if( !rootProject.hasProperty( "release" ) ) if( !rootProject.hasProperty( "release" ) )
version = version.toString() + "-SNAPSHOT" version = version.toString() + "-SNAPSHOT"

View File

@@ -117,7 +117,7 @@ public class FlatInterFont
* new Font( FlatInterFont.FAMILY_SEMIBOLD, Font.ITALIC, 12 ); * new Font( FlatInterFont.FAMILY_SEMIBOLD, Font.ITALIC, 12 );
* }</pre> * }</pre>
*/ */
public static final String FAMILY_SEMIBOLD = "Inter Semi Bold"; public static final String FAMILY_SEMIBOLD = "Inter SemiBold";
/** /**
* Use for {@link #installStyle(String)} to install single font style. * Use for {@link #installStyle(String)} to install single font style.

View File

@@ -1,6 +1,4 @@
Copyright (c) 2016-2020 The Inter Project Authors. Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
"Inter" is trademark of Rasmus Andersson.
https://github.com/rsms/inter
This Font Software is licensed under the SIL Open Font License, Version 1.1. 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: This license is copied below, and is also available with a FAQ at: