Skip to content

Commit b8b1fc8

Browse files
committed
Changed default font to match Button font
1 parent 2d7d03e commit b8b1fc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/tech/fastj/graphics/game/Text2D.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public class Text2D extends GameObject {
2727

2828
/** {@link Paint} representing the default color value of {@code (0, 0, 0)}. */
2929
public static final Paint DefaultFill = Color.black;
30-
/** {@link Font} representing the default font of {@code Segoe UI Plain, 12px}. */
31-
public static final Font DefaultFont = new Font("Segoe UI", Font.PLAIN, 12);
30+
/** {@link Font} representing the default font of {@code Tahoma 16px}. */
31+
public static final Font DefaultFont = new Font("Tahoma", Font.PLAIN, 16);
3232

3333
private String text;
3434
private Paint fillPaint;

0 commit comments

Comments
 (0)