Skip to content

Commit

Permalink
Fonts: updated Inter to v4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DevCharly committed Jan 24, 2024
1 parent 722dde6 commit ca3b2b4
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ FlatLaf Change Log
- Native libraries: System property `flatlaf.nativeLibraryPath` now supports
loading native libraries named the same as on Maven central. Improved log
messages for loading fails.
- Fonts: Updated **Inter** to
[v4.0](https://github.com/rsms/inter/releases/tag/v4.0).

#### Fixed bugs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ public static float computeTextYCorrection( Graphics2D g ) {

case "Inter":
case "Inter Light":
case "Inter Semi Bold":
case "Inter Semi Bold": // Inter v3
case "Inter SemiBold": // Inter v4
case "Roboto":
case "Roboto Light":
case "Roboto Medium":
Expand Down
2 changes: 1 addition & 1 deletion flatlaf-fonts/flatlaf-fonts-inter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// 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
// necessary, but the <font-version> has not changed.
version = "3.19"
version = "4.0"

if( !rootProject.hasProperty( "release" ) )
version = version.toString() + "-SNAPSHOT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public class FlatInterFont
* new Font( FlatInterFont.FAMILY_SEMIBOLD, Font.ITALIC, 12 );
* }</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.
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
Copyright (c) 2016-2020 The Inter Project Authors.
"Inter" is trademark of Rasmus Andersson.
https://github.com/rsms/inter
Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)

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:
Expand Down

0 comments on commit ca3b2b4

Please sign in to comment.