From 6cafd268d486a930c7e8bec229c30eb6a50fe436 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Tue, 5 Jul 2022 16:16:23 +0200 Subject: start on new font thingies --- src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/main/java/cc/polyfrost/oneconfig/utils') diff --git a/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java b/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java index 51b42d8..265e2f4 100644 --- a/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java +++ b/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java @@ -11,20 +11,6 @@ import java.util.ArrayList; */ public final class TextUtils { - /** - * Wraps a string into an array of lines. - * - * @param vg The NanoVG context. - * @param text The text to wrap. - * @param maxWidth The maximum width of each line. - * @param fontSize The font size. - * @param font The font to use. - * @return The array of lines. - */ - public static ArrayList wrapText(long vg, String text, float maxWidth, float fontSize, Fonts font) { - return wrapText(vg, text, maxWidth, fontSize, font.font); - } - /** * Wraps a string into an array of lines. * -- cgit