Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ayunami2000 committed May 7, 2024
1 parent 3d416ff commit c4b3775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/ayunami2000/ayunpictojava/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ private static BufferedImage loadImage(String name) {
box_outline4 = loadImage("box_outline4");
box_outline5 = loadImage("box_outline5");
try {
font = Font.createFont(Font.TRUETYPE_FONT, Objects.requireNonNull(Main.class.getResourceAsStream("/www/nds.ttf"))).deriveFont(Font.BOLD, scale * 10F);
font = Font.createFont(Font.TRUETYPE_FONT, Objects.requireNonNull(Main.class.getResourceAsStream("/www/nds.ttf"))).deriveFont(scale * 10F);
} catch (FontFormatException | IOException e) {
System.err.println("Could not load font!");
}
Expand Down

0 comments on commit c4b3775

Please sign in to comment.