@@ -49,16 +49,16 @@ public byte[] createStampImage(JSONObject jsonObject) {
49
49
graphics2D .fillRect (0 , 0 , 600 , 200 );
50
50
51
51
int fontSize = 30 ;
52
- graphics2D .setFont (new Font ("Liberation Sans " , Font .BOLD , fontSize ));
52
+ graphics2D .setFont (new Font ("Nanum " , Font .BOLD , fontSize ));
53
53
graphics2D .setColor (Color .black );
54
54
graphics2D .drawString (invenNickname , 30 , 60 );
55
55
56
- graphics2D .setFont (new Font ("Liberation Sans " , Font .PLAIN , 20 ));
56
+ graphics2D .setFont (new Font ("Nanum " , Font .PLAIN , 20 ));
57
57
graphics2D .drawString ("๋ ๋ฒจ: " + formattedCharacterLevel , 30 , 100 );
58
58
graphics2D .drawString ("์ ํฌ๋ ฅ: " + formattedBattlePower , 30 , 130 );
59
59
graphics2D .drawString ("์ ๋์จ: " + formattedUnionLevel , 30 , 160 );
60
60
61
- Font detailsFont = new Font ("Liberation Sans " , Font .PLAIN , 12 );
61
+ Font detailsFont = new Font ("Nanum " , Font .PLAIN , 12 );
62
62
graphics2D .setFont (detailsFont );
63
63
// Calculate position for the text
64
64
FontMetrics metrics = graphics2D .getFontMetrics (detailsFont );
@@ -81,7 +81,7 @@ public byte[] createStampImage(JSONObject jsonObject) {
81
81
String watermarkText = invenNickname ;
82
82
83
83
// Set watermark properties
84
- graphics2D .setFont (new Font ("Liberation Sans " , Font .PLAIN , watermarkFontSize ));
84
+ graphics2D .setFont (new Font ("Nanum " , Font .PLAIN , watermarkFontSize ));
85
85
graphics2D .setColor (new Color (0 , 0 , 0 , 128 ));
86
86
graphics2D .setComposite (AlphaComposite .getInstance (AlphaComposite .SRC_OVER , 0.3f ));
87
87
0 commit comments