aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Fonts.java
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-07 11:47:39 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-07 11:47:39 +0200
commit6f7141b14bbb08969255d96484ea8ee9b306503b (patch)
treee64a3d29d57b11914834ccca366541bb83ca486b /src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Fonts.java
parent95a2caffdddadb487c164a7cc498f54ed4a27955 (diff)
downloadOneConfig-6f7141b14bbb08969255d96484ea8ee9b306503b.tar.gz
OneConfig-6f7141b14bbb08969255d96484ea8ee9b306503b.tar.bz2
OneConfig-6f7141b14bbb08969255d96484ea8ee9b306503b.zip
font changes
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Fonts.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Fonts.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Fonts.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Fonts.java
index aef639c..d2b94f0 100644
--- a/src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Fonts.java
+++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/font/Fonts.java
@@ -1,11 +1,11 @@
package cc.polyfrost.oneconfig.lwjgl.font;
public enum Fonts {
- INTER_BOLD(new Font("inter-bold", "/assets/oneconfig/font/Inter-Bold.otf")),
- INTER_REGULAR(new Font("inter-regular", "/assets/oneconfig/font/Inter-Regular.otf")),
- INTER_SEMIBOLD(new Font("inter-semibold", "/assets/oneconfig/font/Inter-SemiBold.otf")),
- INTER_MEDIUM(new Font("inter-medium", "/assets/oneconfig/font/Inter-Medium.otf")),
- MC_REGULAR(new Font("mc-regular", "/assets/oneconfig/font/Minecraft-Regular.otf"));
+ // https://opentype.js.org/font-inspector.html
+ BOLD(new Font("inter-bold", "/assets/oneconfig/font/Bold.otf", 2816, 2728, -680)),
+ SEMIBOLD(new Font("inter-semibold", "/assets/oneconfig/font/SemiBold.otf", 2816, 2728, -68)),
+ MEDIUM(new Font("inter-medium", "/assets/oneconfig/font/Medium.otf", 2816, 2728, -680)),
+ REGULAR(new Font("inter-regular", "/assets/oneconfig/font/Regular.otf", 2816, 2728, -680));
public final Font font;