Fixed font

This commit is contained in:
2026-03-08 02:47:22 +01:00
parent b2f381a0d6
commit 6021cd790e
@@ -30,7 +30,7 @@ public class Fonts {
public static int getWidth(String text, int font) {
int w = 0;
for (String line : text.split("\n")) {
w = Math.max(w, getWidth(line, setFont(text, font).getWidth()));
w = Math.max(w, setFont(line, font).getWidth());
}
if (font == 0) {